	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function thread_pool_routine
_thread_pool_routine:                   ## @thread_pool_routine
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	20(%rdi), %r14
	leaq	24(%rdi), %r15
	movq	_cleanup_mutex@GOTPCREL(%rip), %r12
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	decl	%eax
	movl	%eax, 16(%rbx)
	movl	$1, %edi
	callq	_pthread_cleanup_pop
	movl	(%rbx), %edi
	callq	*8(%rbx)
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	movq	%r14, %rdi
	callq	_pthread_mutex_lock
	movl	(%r12), %edi
	movq	%rbx, %rsi
	callq	_pthread_cleanup_push
	.p2align	4, 0x90
LBB0_3:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	16(%rbx), %eax
	testl	%eax, %eax
	jne	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_3 Depth=2
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_pthread_cond_wait
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_cleanup_mutex,4,2              ## @cleanup_mutex
	.no_dead_strip	_thread_pool_routine
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function thread_pool_routine
_thread_pool_routine:                   ; @thread_pool_routine
	.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
	add	x20, x0, #20
	add	x21, x0, #24
Lloh0:
	adrp	x22, _cleanup_mutex@GOTPAGE
Lloh1:
	ldr	x22, [x22, _cleanup_mutex@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	sub	w8, w8, #1
	str	w8, [x19, #16]
	mov	w0, #1
	bl	_pthread_cleanup_pop
	ldr	x8, [x19, #8]
	ldr	w0, [x19]
	blr	x8
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_3 Depth 2
	mov	x0, x20
	bl	_pthread_mutex_lock
	ldr	w0, [x22]
	mov	x1, x19
	bl	_pthread_cleanup_push
	ldr	w8, [x19, #16]
	cbnz	w8, LBB0_1
LBB0_3:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x21
	mov	x1, x20
	bl	_pthread_cond_wait
	ldr	w8, [x19, #16]
	cbz	w8, LBB0_3
	b	LBB0_1
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_cleanup_mutex,4,2              ; @cleanup_mutex
	.no_dead_strip	_thread_pool_routine
.subsections_via_symbols
