	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function worker_bcache
_worker_bcache:                         ## @worker_bcache
	.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
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.1:
	movq	%rdi, %r14
	movl	(%rdi), %edi
	callq	_pt_section_get
	testl	%eax, %eax
	js	LBB0_11
## %bb.2:
	movq	_num_work@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_9
## %bb.3:
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %edi
	callq	_pt_section_map
	testl	%eax, %eax
	js	LBB0_16
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	(%r14), %edi
	callq	_pt_section_request_bcache
	testl	%eax, %eax
	js	LBB0_13
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	(%r14), %edi
	callq	_pt_section_bcache
	testq	%rax, %rax
	je	LBB0_14
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	(%r14), %edi
	callq	_pt_section_unmap
	testl	%eax, %eax
	js	LBB0_16
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	incl	%r12d
	cmpl	(%r15), %r12d
	jl	LBB0_4
LBB0_9:
	movl	(%r14), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pt_section_put                 ## TAILCALL
LBB0_10:
	movq	_pte_internal@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_18
LBB0_11:
	movl	%eax, %ebx
	jmp	LBB0_18
LBB0_16:
	movl	%eax, %ebx
	jmp	LBB0_17
LBB0_13:
	movl	%eax, %ebx
	jmp	LBB0_15
LBB0_14:
	movq	_pte_nomem@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_15:
	movl	(%r14), %edi
	callq	_pt_section_unmap
LBB0_17:
	movl	(%r14), %edi
	callq	_pt_section_put
LBB0_18:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pte_internal,4,2               ## @pte_internal
	.comm	_num_work,4,2                   ## @num_work
	.comm	_pte_nomem,4,2                  ## @pte_nomem
	.no_dead_strip	_worker_bcache
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function worker_bcache
_worker_bcache:                         ; @worker_bcache
	.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
	cbz	x0, LBB0_10
; %bb.1:
	mov	x19, x0
	ldr	w0, [x0]
	bl	_pt_section_get
	tbnz	w0, #31, LBB0_11
; %bb.2:
Lloh0:
	adrp	x21, _num_work@GOTPAGE
Lloh1:
	ldr	x21, [x21, _num_work@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.3:
	mov	w22, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19]
	bl	_pt_section_map
	tbnz	w0, #31, LBB0_12
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x19]
	bl	_pt_section_request_bcache
	tbnz	w0, #31, LBB0_13
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x19]
	bl	_pt_section_bcache
	cbz	x0, LBB0_14
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x19]
	bl	_pt_section_unmap
	tbnz	w0, #31, LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w22, w22, #1
	ldr	w8, [x21]
	cmp	w22, w8
	b.lt	LBB0_4
LBB0_9:
	ldr	w0, [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
	b	_pt_section_put
LBB0_10:
Lloh2:
	adrp	x8, _pte_internal@GOTPAGE
Lloh3:
	ldr	x8, [x8, _pte_internal@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_17
LBB0_11:
	mov	x20, x0
	b	LBB0_17
LBB0_12:
	mov	x20, x0
	b	LBB0_16
LBB0_13:
	mov	x20, x0
	b	LBB0_15
LBB0_14:
Lloh5:
	adrp	x8, _pte_nomem@GOTPAGE
Lloh6:
	ldr	x8, [x8, _pte_nomem@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_15:
	ldr	w0, [x19]
	bl	_pt_section_unmap
LBB0_16:
	ldr	w0, [x19]
	bl	_pt_section_put
LBB0_17:
	mov	x0, x20
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_pte_internal,4,2               ; @pte_internal
	.comm	_num_work,4,2                   ; @num_work
	.comm	_pte_nomem,4,2                  ; @pte_nomem
	.no_dead_strip	_worker_bcache
.subsections_via_symbols
