	.file	"86289.c"
	.intel_syntax noprefix
	.text
	.globl	system_sigaction
	.section	.data.rel,"aw"
	.align 8
	.type	system_sigaction, @object
	.size	system_sigaction, 8
system_sigaction:
	.quad	sigaction
	.text
	.globl	my_sigaction
	.type	my_sigaction, @function
my_sigaction:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	mov	QWORD PTR -24[rbp], rdx
	cmp	QWORD PTR -16[rbp], 0
	je	.L4
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 136[rax]
	cmp	eax, -1073741824
	jne	.L4
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, 12
	seta	dl
	test	dl, dl
	jne	.L2
	mov	edx, 1
	mov	ecx, eax
	sal	rdx, cl
	mov	rax, rdx
	and	eax, 5376
	test	rax, rax
	setne	al
	test	al, al
	je	.L2
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR 136[rax], 0
	jmp	.L2
.L4:
	nop
.L2:
	mov	r8, QWORD PTR system_sigaction[rip]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR -4[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	r8
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	my_sigaction, .-my_sigaction
	.section	.rodata
	.align 8
.LC0:
	.string	"MonoTouch: Could not install sigaction override, unexpected sigaction implementation.\n"
	.align 8
.LC1:
	.string	"MonoTouch: Could not allocate memory for sigaction override: %s\n"
	.align 8
.LC2:
	.string	"MonoTouch: could not patch sigaction: %s\n"
	.text
	.globl	patch_sigaction
	.type	patch_sigaction, @function
patch_sigaction:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	rax, QWORD PTR sigaction@GOTPCREL[rip]
	mov	QWORD PTR -88[rbp], rax
	movabs	rax, 2372415452829272149
	mov	QWORD PTR -80[rbp], rax
	movabs	rax, 754105515323115405
	mov	QWORD PTR -72[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR [rax]
	cmp	QWORD PTR -80[rbp], rax
	jne	.L6
	mov	rax, QWORD PTR -88[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	cmp	QWORD PTR -72[rbp], rax
	je	.L7
.L6:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 86
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	jmp	.L5
.L7:
	call	getpagesize@PLT
	cdqe
	mov	QWORD PTR -64[rbp], rax
	mov	rax, QWORD PTR -64[rbp]
	mov	r9d, 0
	mov	r8d, -1
	mov	ecx, 34
	mov	edx, 7
	mov	rsi, rax
	mov	edi, 0
	call	mmap@PLT
	mov	QWORD PTR -56[rbp], rax
	cmp	QWORD PTR -56[rbp], 0
	jne	.L9
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L5
.L9:
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR -80[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, 8[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR [rdx], rax
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 14
	mov	WORD PTR [rax], -17591
	mov	rax, QWORD PTR sigaction@GOTPCREL[rip]
	lea	rdx, 14[rax]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 16
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 24
	mov	WORD PTR [rax], -191
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 26
	mov	WORD PTR [rax], 227
	mov	rax, QWORD PTR sigaction@GOTPCREL[rip]
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -64[rbp]
	neg	rax
	and	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -64[rbp]
	lea	rcx, [rax+rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, 7
	mov	rsi, rcx
	mov	rdi, rax
	call	mprotect@PLT
	mov	DWORD PTR -92[rbp], eax
	cmp	DWORD PTR -92[rbp], 0
	je	.L10
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rdx, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	munmap@PLT
	jmp	.L5
.L10:
	mov	rax, QWORD PTR sigaction@GOTPCREL[rip]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	WORD PTR [rax], -17591
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 2
	mov	QWORD PTR -8[rbp], rax
	lea	rdx, my_sigaction[rip]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 10
	mov	WORD PTR [rax], -191
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 12
	mov	WORD PTR [rax], 227
	mov	rax, QWORD PTR -64[rbp]
	lea	rcx, [rax+rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, 5
	mov	rsi, rcx
	mov	rdi, rax
	call	mprotect@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR system_sigaction[rip], rax
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	patch_sigaction, .-patch_sigaction
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"86289.c"
	.text
	.global	system_sigaction
	.data
	.align	2
	.type	system_sigaction, %object
	.size	system_sigaction, 4
system_sigaction:
	.word	sigaction
	.text
	.align	2
	.global	my_sigaction
	.syntax unified
	.arm
	.fpu softvfp
	.type	my_sigaction, %function
my_sigaction:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L4
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #132]
	cmp	r3, #-1073741824
	bne	.L4
	ldr	r3, [fp, #-8]
	cmp	r3, #12
	movhi	r2, #1
	movls	r2, #0
	and	r2, r2, #255
	cmp	r2, #0
	bne	.L2
	mov	r2, #1
	lsl	r3, r2, r3
	and	r3, r3, #5376
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L2
	ldr	r3, [fp, #-12]
	mov	r2, #0
	str	r2, [r3, #132]
	b	.L2
.L4:
	nop
.L2:
	ldr	r3, .L5
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	blx	r3
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	system_sigaction
	.size	my_sigaction, .-my_sigaction
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
