	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function async_get_pool_job
_async_get_pool_job:                    ## @async_get_pool_job
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_poolkey@GOTPCREL(%rip), %rdi
	callq	_CRYPTO_THREAD_get_local
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_ASYNC_init_thread
	testq	%rax, %rax
	je	LBB0_12
## %bb.2:
	movq	_poolkey@GOTPCREL(%rip), %rdi
	callq	_CRYPTO_THREAD_get_local
	movq	%rax, %r14
LBB0_3:
	movl	16(%r14), %edi
	callq	_sk_ASYNC_JOB_pop
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_12
## %bb.4:
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	cmpq	%rax, 8(%r14)
	jge	LBB0_11
LBB0_6:
	xorl	%eax, %eax
	callq	_async_job_new
	testq	%rax, %rax
	je	LBB0_11
## %bb.7:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_async_fibre_makecontext
	testl	%eax, %eax
	je	LBB0_10
## %bb.8:
	incq	8(%r14)
	jmp	LBB0_12
LBB0_10:
	movq	%rbx, %rdi
	callq	_async_job_free
LBB0_11:
	xorl	%ebx, %ebx
LBB0_12:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_poolkey,4,2                    ## @poolkey
	.no_dead_strip	_async_get_pool_job
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function async_get_pool_job
_async_get_pool_job:                    ; @async_get_pool_job
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x0, _poolkey@GOTPAGE
Lloh1:
	ldr	x0, [x0, _poolkey@GOTPAGEOFF]
	bl	_CRYPTO_THREAD_get_local
	mov	x19, x0
	cbnz	x0, LBB0_3
; %bb.1:
	mov	w1, #0
	bl	_ASYNC_init_thread
	cbz	x0, LBB0_10
; %bb.2:
Lloh2:
	adrp	x0, _poolkey@GOTPAGE
Lloh3:
	ldr	x0, [x0, _poolkey@GOTPAGEOFF]
	bl	_CRYPTO_THREAD_get_local
	mov	x19, x0
LBB0_3:
	ldr	w0, [x19, #16]
	bl	_sk_ASYNC_JOB_pop
	mov	x20, x0
	cbnz	x0, LBB0_11
; %bb.4:
	ldr	x8, [x19]
	cbz	x8, LBB0_6
; %bb.5:
	ldr	x9, [x19, #8]
	cmp	x9, x8
	b.ge	LBB0_10
LBB0_6:
	bl	_async_job_new
	mov	x20, x0
	cbz	x0, LBB0_11
; %bb.7:
	mov	x0, x20
	bl	_async_fibre_makecontext
	cbz	w0, LBB0_9
; %bb.8:
	ldr	x8, [x19, #8]
	add	x8, x8, #1
	str	x8, [x19, #8]
	b	LBB0_11
LBB0_9:
	mov	x0, x20
	bl	_async_job_free
LBB0_10:
	mov	x20, #0
LBB0_11:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_poolkey,4,2                    ; @poolkey
	.no_dead_strip	_async_get_pool_job
.subsections_via_symbols
