	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sigchain_pop                   ## -- Begin function sigchain_pop
	.p2align	4, 0x90
_sigchain_pop:                          ## @sigchain_pop
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r14d
	movq	_signals@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movslq	%edi, %rbx
	movl	%ebx, %edi
	callq	_check_signum
	shlq	$4, %rbx
	movl	(%r15,%rbx), %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	jle	LBB0_3
## %bb.1:
	movq	8(%r15,%rbx), %rax
	decl	%ecx
	movl	(%rax,%rcx,4), %esi
	movl	%r14d, %edi
	callq	_signal
	movq	%rax, %rcx
	movq	_SIG_ERR@GOTPCREL(%rip), %rdx
	movl	$-1, %eax
	cmpq	(%rdx), %rcx
	je	LBB0_3
## %bb.2:
	addq	%rbx, %r15
	decl	(%r15)
	xorl	%eax, %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_signals,8,3                    ## @signals
	.comm	_SIG_ERR,8,3                    ## @SIG_ERR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sigchain_pop                   ; -- Begin function sigchain_pop
	.p2align	2
_sigchain_pop:                          ; @sigchain_pop
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _signals@GOTPAGE
Lloh1:
	ldr	x8, [x8, _signals@GOTPAGEOFF]
Lloh2:
	ldr	x21, [x8]
	bl	_check_signum
	add	x20, x21, w19, sxtw #4
	ldr	w8, [x20]
	subs	w8, w8, #1
	b.lt	LBB0_3
; %bb.1:
	sxtw	x9, w19
	add	x9, x21, x9, lsl #4
	ldr	x9, [x9, #8]
	ldr	w1, [x9, w8, uxtw #2]
	mov	x0, x19
	bl	_signal
Lloh3:
	adrp	x8, _SIG_ERR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SIG_ERR@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.2:
	mov	w0, #-1
	b	LBB0_5
LBB0_3:
	mov	w0, #0
	b	LBB0_5
LBB0_4:
	mov	w0, #0
	ldr	w8, [x20]
	sub	w8, w8, #1
	str	w8, [x20]
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_signals,8,3                    ; @signals
	.comm	_SIG_ERR,8,3                    ; @SIG_ERR
.subsections_via_symbols
