	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_linux_sigaction                ## -- Begin function linux_sigaction
	.p2align	4, 0x90
_linux_sigaction:                       ## @linux_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	%r14
	pushq	%rbx
	subq	$48, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	8(%rsi), %rdi
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	leaq	-32(%rbp), %rsi
	movl	$16, %edx
	callq	_copyin
	testl	%eax, %eax
	jne	LBB0_7
## %bb.3:
	movl	-20(%rbp), %eax
	movl	%eax, -36(%rbp)
	movq	-28(%rbp), %rax
	movq	%rax, -44(%rbp)
	callq	_LINUX_SIGEMPTYSET
	movl	-32(%rbp), %eax
	movl	%eax, -48(%rbp)
	movq	8(%rbx), %rax
	testq	%rax, %rax
	leaq	-48(%rbp), %rdx
	cmoveq	%rax, %rdx
	jmp	LBB0_4
LBB0_1:
	xorl	%edx, %edx
LBB0_4:
	movl	16(%rbx), %esi
	movq	(%rbx), %rax
	testq	%rax, %rax
	leaq	-64(%rbp), %rcx
	cmoveq	%rax, %rcx
	movq	%r14, %rdi
	callq	_linux_do_sigaction
	movq	(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.5:
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	movaps	-64(%rbp), %xmm0
	movaps	%xmm0, -32(%rbp)
	leaq	-32(%rbp), %rdi
	movl	$16, %edx
	callq	_copyout
LBB0_7:
	addq	$48, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_linux_sigaction                ; -- Begin function linux_sigaction
	.p2align	2
_linux_sigaction:                       ; @linux_sigaction
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	ldr	x0, [x1, #8]
	cbz	x0, LBB0_3
; %bb.1:
	add	x1, sp, #32
	mov	w2, #16
	bl	_copyin
	cbnz	w0, LBB0_6
; %bb.2:
	ldr	w8, [sp, #44]
	str	w8, [sp, #28]
	ldur	d0, [sp, #36]
	stur	d0, [sp, #20]
	mov	x0, #0
	bl	_LINUX_SIGEMPTYSET
	ldr	w8, [sp, #32]
	str	w8, [sp, #16]
	ldr	x8, [x19, #8]
	add	x9, sp, #16
	cmp	x8, #0
	csel	x2, xzr, x9, eq
	b	LBB0_4
LBB0_3:
	mov	x2, #0
LBB0_4:
	ldr	w1, [x19, #16]
	ldr	x8, [x19]
	mov	x9, sp
	cmp	x8, #0
	csel	x3, xzr, x9, eq
	mov	x0, x20
	bl	_linux_do_sigaction
	ldr	x1, [x19]
	cmp	x1, #0
	ccmp	w0, #0, #0, ne
	b.ne	LBB0_6
; %bb.5:
	ldr	q0, [sp]
	str	q0, [sp, #32]
	add	x0, sp, #32
	mov	w2, #16
	bl	_copyout
LBB0_6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
