	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function worker_read
_worker_read:                           ## @worker_read
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	testq	%rdi, %rdi
	je	LBB0_20
## %bb.1:
	movq	_num_work@GOTPCREL(%rip), %r12
	cmpl	$0, (%r12)
	jle	LBB0_17
## %bb.2:
	movq	%rdi, %r14
	xorl	%r13d, %r13d
	movq	l___const.worker_read.buffer(%rip), %r15
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	l___const.worker_read.buffer+8(%rip), %eax
	movl	%eax, -56(%rbp)
	movq	%r15, -64(%rbp)
	movl	(%r14), %edi
	callq	_pt_section_get
	testl	%eax, %eax
	js	LBB0_15
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r14), %edi
	callq	_pt_section_map
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_11
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r14), %edi
	leaq	-64(%rbp), %rsi
	movl	$2, %edx
	xorl	%ecx, %ecx
	callq	_pt_section_read
	testl	%eax, %eax
	js	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$2, %eax
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$2, -64(%rbp)
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$4, -60(%rbp)
	jne	LBB0_9
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r14), %edi
	callq	_pt_section_unmap
	testl	%eax, %eax
	js	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r14), %edi
	callq	_pt_section_put
	testl	%eax, %eax
	js	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_3 Depth=1
	incl	%r13d
	cmpl	(%r12), %r13d
	jl	LBB0_3
LBB0_17:
	xorl	%ebx, %ebx
	jmp	LBB0_18
LBB0_20:
	movq	_pte_internal@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_18
LBB0_15:
	movl	%eax, %ebx
	jmp	LBB0_18
LBB0_9:
	movq	_pte_invalid@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_10:
	movl	(%r14), %edi
	callq	_pt_section_unmap
	jmp	LBB0_11
LBB0_13:
	movl	%eax, %ebx
LBB0_11:
	movl	(%r14), %edi
	callq	_pt_section_put
LBB0_18:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_19
## %bb.21:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_pte_internal,4,2               ## @pte_internal
	.comm	_num_work,4,2                   ## @num_work
	.section	__TEXT,__const
	.p2align	2                               ## @__const.worker_read.buffer
l___const.worker_read.buffer:
	.long	204                             ## 0xcc
	.long	204                             ## 0xcc
	.long	204                             ## 0xcc

	.comm	_pte_invalid,4,2                ## @pte_invalid
	.no_dead_strip	_worker_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function worker_read
_worker_read:                           ; @worker_read
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	cbz	x0, LBB0_13
; %bb.1:
Lloh3:
	adrp	x21, _num_work@GOTPAGE
Lloh4:
	ldr	x21, [x21, _num_work@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.2:
	mov	x19, x0
	mov	w22, #0
Lloh5:
	adrp	x8, l___const.worker_read.buffer@PAGE
Lloh6:
	add	x8, x8, l___const.worker_read.buffer@PAGEOFF
	ldr	x23, [x8]
	ldr	w24, [x8, #8]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	str	x23, [sp, #8]
	str	w24, [sp, #16]
	ldr	w0, [x19]
	bl	_pt_section_get
	tbnz	w0, #31, LBB0_14
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x19]
	bl	_pt_section_map
	mov	x20, x0
	tbnz	w0, #31, LBB0_18
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x19]
	add	x1, sp, #8
	mov	w2, #2
	mov	w3, #0
	bl	_pt_section_read
	tbnz	w0, #31, LBB0_16
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w0, #2
	b.ne	LBB0_15
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [sp, #8]
	cmp	w8, #2
	b.ne	LBB0_15
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [sp, #12]
	cmp	w8, #4
	b.ne	LBB0_15
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x19]
	bl	_pt_section_unmap
	tbnz	w0, #31, LBB0_17
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x19]
	bl	_pt_section_put
	tbnz	w0, #31, LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	add	w22, w22, #1
	ldr	w8, [x21]
	cmp	w22, w8
	b.lt	LBB0_3
LBB0_12:
	mov	w20, #0
	b	LBB0_19
LBB0_13:
Lloh7:
	adrp	x8, _pte_internal@GOTPAGE
Lloh8:
	ldr	x8, [x8, _pte_internal@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_19
LBB0_14:
	mov	x20, x0
	b	LBB0_19
LBB0_15:
Lloh10:
	adrp	x8, _pte_invalid@GOTPAGE
Lloh11:
	ldr	x8, [x8, _pte_invalid@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_16:
	ldr	w0, [x19]
	bl	_pt_section_unmap
	b	LBB0_18
LBB0_17:
	mov	x20, x0
LBB0_18:
	ldr	w0, [x19]
	bl	_pt_section_put
LBB0_19:
	ldr	x8, [sp, #24]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_21
; %bb.20:
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_21:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_pte_internal,4,2               ; @pte_internal
	.comm	_num_work,4,2                   ; @num_work
	.section	__TEXT,__const
	.p2align	2                               ; @__const.worker_read.buffer
l___const.worker_read.buffer:
	.long	204                             ; 0xcc
	.long	204                             ; 0xcc
	.long	204                             ; 0xcc

	.comm	_pte_invalid,4,2                ; @pte_invalid
	.no_dead_strip	_worker_read
.subsections_via_symbols
