	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sys_rt_sigaction               ## -- Begin function sys_rt_sigaction
	.p2align	4, 0x90
_sys_rt_sigaction:                      ## @sys_rt_sigaction
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$4, %ecx
	jne	LBB0_1
## %bb.2:
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movl	%edi, %r14d
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.4:
	movq	%rbx, %rdi
	callq	_user_get
	testq	%rax, %rax
	jne	LBB0_9
## %bb.5:
	leaq	-48(%rbp), %r12
	jmp	LBB0_6
LBB0_1:
	movq	__EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_3:
	xorl	%r12d, %r12d
LBB0_6:
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %esi
	movq	%rbx, %rdx
	movq	%r15, %rcx
	movl	$4, %r8d
	callq	_STRACE
	testq	%r15, %r15
	leaq	-40(%rbp), %rdx
	cmoveq	%r15, %rdx
	movl	%r14d, %edi
	movq	%r12, %rsi
	callq	_do_sigaction
	movl	%eax, %ebx
	testq	%r15, %r15
	je	LBB0_11
## %bb.7:
	testl	%ebx, %ebx
	js	LBB0_11
## %bb.8:
	movl	-40(%rbp), %esi
	movq	%r15, %rdi
	callq	_user_put
	testq	%rax, %rax
	je	LBB0_11
LBB0_9:
	movq	__EFAULT@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %ebx
LBB0_11:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__EINVAL,4,2                    ## @_EINVAL
	.comm	__EFAULT,4,2                    ## @_EFAULT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rt_sigaction(%d, 0x%x, 0x%x, %d)"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sys_rt_sigaction               ; -- Begin function sys_rt_sigaction
	.p2align	2
_sys_rt_sigaction:                      ; @sys_rt_sigaction
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	cmp	w3, #4
	b.ne	LBB0_4
; %bb.1:
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	cbz	x1, LBB0_5
; %bb.2:
	mov	x0, x21
	mov	x1, #0
	bl	_user_get
	cbz	x0, LBB0_6
; %bb.3:
Lloh0:
	adrp	x8, __EFAULT@GOTPAGE
Lloh1:
	ldr	x8, [x8, __EFAULT@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	b	LBB0_10
LBB0_4:
Lloh3:
	adrp	x8, __EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, __EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
	b	LBB0_10
LBB0_5:
	mov	x22, #0
	b	LBB0_7
LBB0_6:
	add	x22, sp, #8
LBB0_7:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	mov	x2, x21
	mov	x3, x19
	mov	w4, #4
	bl	_STRACE
	mov	x8, sp
	cmp	x19, #0
	csel	x2, xzr, x8, eq
	mov	x0, x20
	mov	x1, x22
	bl	_do_sigaction
	mov	x20, x0
	cbz	x19, LBB0_10
; %bb.8:
	tbnz	w20, #31, LBB0_10
; %bb.9:
	ldr	w1, [sp]
	mov	x0, x19
	bl	_user_put
Lloh8:
	adrp	x8, __EFAULT@GOTPAGE
Lloh9:
	ldr	x8, [x8, __EFAULT@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w20, w20, w8, eq
LBB0_10:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	__EINVAL,4,2                    ; @_EINVAL
	.comm	__EFAULT,4,2                    ; @_EFAULT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rt_sigaction(%d, 0x%x, 0x%x, %d)"

.subsections_via_symbols
