	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_deferred_signal
_check_deferred_signal:                 ## @check_deferred_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	%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
	movq	%rdi, %rbx
	cmpq	$0, 8(%rdi)
	je	LBB0_1
## %bb.2:
	xorl	%eax, %eax
	cmpl	$0, (%rbx)
	setne	%cl
	movb	%cl, %al
	movl	%eax, %edi
	jmp	LBB0_3
LBB0_1:
	movl	$1, %edi
LBB0_3:
	callq	___predict_true
	testq	%rax, %rax
	jne	LBB0_7
## %bb.4:
	movl	$1, (%rbx)
	xorl	%eax, %eax
                                        ## kill: def $al killed $al killed $eax
	callq	___getcontextx_size
	movl	%eax, %edi
	callq	_alloca
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_getcontext
	cmpq	$0, 8(%rbx)
	je	LBB0_5
## %bb.6:
	leaq	8(%rbx), %r15
	movq	%r14, %rdi
	callq	___fillcontextx2
	movl	20(%rbx), %eax
	movl	%eax, -48(%rbp)
	movl	16(%rbx), %eax
	movl	%eax, (%r14)
	leaq	-40(%rbp), %r12
	movl	$4, %edx
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_memcpy
	movq	$0, 8(%rbx)
	movl	-40(%rbp), %esi
	leaq	-48(%rbp), %rdi
	movq	%r12, %rdx
	movq	%r14, %rcx
	callq	_handle_signal
	jmp	LBB0_7
LBB0_5:
	movl	$0, (%rbx)
LBB0_7:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_check_deferred_signal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_deferred_signal
_check_deferred_signal:                 ; @check_deferred_signal
	.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
	mov	x19, x0
	mov	x21, x0
	ldr	x8, [x21, #8]!
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w8, [x19]
	cmp	w8, #0
	cset	w0, ne
	bl	___predict_true
	cbnz	x0, LBB0_6
	b	LBB0_3
LBB0_2:
	mov	w0, #1
	bl	___predict_true
	cbnz	x0, LBB0_6
LBB0_3:
	mov	w8, #1
	str	w8, [x19]
	bl	___getcontextx_size
	bl	_alloca
	mov	x20, x0
	bl	_getcontext
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_5
; %bb.4:
	mov	x0, x20
	bl	___fillcontextx2
	ldp	w9, w8, [x19, #16]
	str	w8, [sp, #8]
	str	w9, [x20]
	mov	x22, sp
	mov	w2, #4
	mov	x0, x22
	mov	x1, x21
	bl	_memcpy
	str	xzr, [x19, #8]
	ldr	w1, [sp]
	add	x0, sp, #8
	mov	x2, x22
	mov	x3, x20
	bl	_handle_signal
	b	LBB0_6
LBB0_5:
	str	wzr, [x19]
LBB0_6:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_check_deferred_signal
.subsections_via_symbols
