	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __insert_pending_exception
___insert_pending_exception:            ## @__insert_pending_exception
	.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
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	%edx, (%rsi)
	leaq	36(%rsi), %rdi
	callq	_bio_list_init
	leaq	32(%rbx), %rdi
	callq	_bio_list_init
	leaq	4(%r14), %r15
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rbx)
	movq	%r15, %rdi
	callq	_spin_lock
	movq	16(%r14), %rdi
	movq	(%rdi), %rax
	movq	%rbx, %rsi
	callq	*(%rax)
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	callq	_spin_unlock
	movq	%rbx, %rdi
	callq	_free_pending_exception
	xorl	%ebx, %ebx
	jmp	LBB0_3
LBB0_2:
	movslq	8(%r14), %rax
	leal	1(%rax), %ecx
	movl	%ecx, 8(%r14)
	movq	%rax, 8(%rbx)
	movq	%r15, %rdi
	callq	_spin_unlock
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_dm_insert_exception
LBB0_3:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	___insert_pending_exception
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __insert_pending_exception
___insert_pending_exception:            ; @__insert_pending_exception
	.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, x1
	mov	x20, x0
	str	w2, [x1]
	add	x0, x1, #36
	bl	_bio_list_init
	add	x0, x19, #32
	bl	_bio_list_init
	add	x21, x20, #4
	stp	xzr, xzr, [x19, #16]
	mov	x0, x21
	bl	_spin_lock
	ldr	x0, [x20, #16]
	ldr	x8, [x0]
	ldr	x8, [x8]
	mov	x1, x19
	blr	x8
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x21
	bl	_spin_unlock
	mov	x0, x19
	bl	_free_pending_exception
	mov	x19, #0
	b	LBB0_3
LBB0_2:
	ldrsw	x8, [x20, #8]
	add	w9, w8, #1
	str	w9, [x20, #8]
	str	x8, [x19, #8]
	mov	x0, x21
	bl	_spin_unlock
	mov	x0, x20
	mov	x1, x19
	bl	_dm_insert_exception
LBB0_3:
	mov	x0, x19
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	___insert_pending_exception
.subsections_via_symbols
