	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_signal                         ## -- Begin function signal
	.p2align	4, 0x90
_signal:                                ## @signal
	.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	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %r14d
	movl	%esi, -32(%rbp)
	leaq	-24(%rbp), %rdi
	callq	_sigemptyset
	movl	$0, -28(%rbp)
	movq	__sigintr@GOTPCREL(%rip), %rdi
	movl	%r14d, %esi
	callq	_sigismember
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	_SA_RESTART@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, -28(%rbp)
LBB0_2:
	leaq	-32(%rbp), %rsi
	leaq	-48(%rbp), %rbx
	movl	%r14d, %edi
	movq	%rbx, %rdx
	callq	___libc_sigaction
	testq	%rax, %rax
	jns	LBB0_4
## %bb.3:
	movq	_SIG_ERR@GOTPCREL(%rip), %rbx
LBB0_4:
	movl	(%rbx), %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__sigintr,4,2                   ## @_sigintr
	.comm	_SA_RESTART,4,2                 ## @SA_RESTART
	.comm	_SIG_ERR,4,2                    ## @SIG_ERR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_signal                         ; -- Begin function signal
	.p2align	2
_signal:                                ; @signal
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x0
	str	w1, [sp, #16]
	add	x8, sp, #16
	add	x0, x8, #8
	bl	_sigemptyset
	str	wzr, [sp, #20]
Lloh0:
	adrp	x0, __sigintr@GOTPAGE
Lloh1:
	ldr	x0, [x0, __sigintr@GOTPAGEOFF]
	mov	x1, x19
	bl	_sigismember
	cbnz	w0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _SA_RESTART@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SA_RESTART@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	ldr	w9, [sp, #20]
	orr	w8, w9, w8
	str	w8, [sp, #20]
LBB0_2:
	mov	x20, sp
	add	x1, sp, #16
	mov	x2, sp
	mov	x0, x19
	bl	___libc_sigaction
Lloh5:
	adrp	x8, _SIG_ERR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SIG_ERR@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x8, x20, lt
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	__sigintr,4,2                   ; @_sigintr
	.comm	_SA_RESTART,4,2                 ; @SA_RESTART
	.comm	_SIG_ERR,4,2                    ; @SIG_ERR
.subsections_via_symbols
