	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function child_read
_child_read:                            ## @child_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	8(%rdi), %rbx
	movq	_SSIZE_MAX@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rdx, %rax
	cmovbq	%rax, %r14
	movq	_errno@GOTPCREL(%rip), %r15
	movq	_EINTR@GOTPCREL(%rip), %r13
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
LBB0_1:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%rbx), %esi
	movl	$-1, %edi
	callq	___archive_check_child
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_12 Depth 2
	movl	4(%rbx), %edi
	movq	%r12, %rsi
	movl	%r14d, %edx
	callq	_read
	movq	(%r15), %rcx
	cmpl	$-1, %eax
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	(%r13), %rcx
	je	LBB0_2
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	testl	%eax, %eax
	jg	LBB0_23
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	je	LBB0_22
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$-1, %eax
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_EPIPE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_22
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$-1, %edx
	cmpl	$-1, %eax
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_24
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$-1, (%rbx)
	je	LBB0_1
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movl	$1, %esi
	leaq	-44(%rbp), %rdx
	callq	___archive_read_filter_ahead
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_16
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rbx), %edi
	movl	-44(%rbp), %edx
	movq	%r12, %rsi
	callq	_write
	movl	%eax, %r14d
	movq	(%r15), %rax
	cmpl	$-1, %r14d
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=2
	cmpq	(%r13), %rax
	je	LBB0_12
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	testl	%r14d, %r14d
	jle	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movl	%r14d, %esi
	callq	___archive_read_filter_consume
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_2
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %edi
	callq	_close
	movl	$-1, (%rbx)
	movl	4(%rbx), %edi
	movq	_F_SETFL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_fcntl
	movl	-44(%rbp), %edx
	testl	%edx, %edx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	jns	LBB0_2
	jmp	LBB0_24
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %edi
	cmpl	$-1, %r14d
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	jne	LBB0_20
## %bb.18:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_EAGAIN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%rbx), %esi
	callq	___archive_check_child
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_2
LBB0_20:                                ##   in Loop: Header=BB0_2 Depth=1
	callq	_close
	movl	$-1, (%rbx)
	movl	4(%rbx), %edi
	movq	_F_SETFL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_fcntl
	cmpl	$-1, %r14d
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movl	$-1, %edx
	jne	LBB0_2
## %bb.21:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r15), %rax
	movq	_EPIPE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
	jmp	LBB0_24
LBB0_22:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_child_stop
LBB0_23:
	movl	%eax, %edx
LBB0_24:
	movl	%edx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SSIZE_MAX,8,3                  ## @SSIZE_MAX
	.comm	_errno,8,3                      ## @errno
	.comm	_EINTR,8,3                      ## @EINTR
	.comm	_EPIPE,8,3                      ## @EPIPE
	.comm	_EAGAIN,8,3                     ## @EAGAIN
	.comm	_F_SETFL,4,2                    ## @F_SETFL
	.no_dead_strip	_child_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function child_read
_child_read:                            ; @child_read
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x1
	mov	x20, x0
	ldr	x19, [x0, #8]
Lloh0:
	adrp	x8, _SSIZE_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SSIZE_MAX@GOTPAGEOFF]
Lloh2:
	adrp	x25, _errno@GOTPAGE
Lloh3:
	ldr	x25, [x25, _errno@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	adrp	x26, _EINTR@GOTPAGE
Lloh6:
	ldr	x26, [x26, _EINTR@GOTPAGEOFF]
Lloh7:
	adrp	x27, _EPIPE@GOTPAGE
Lloh8:
	ldr	x27, [x27, _EPIPE@GOTPAGEOFF]
	cmp	x8, x2
	csel	x22, x8, x2, lo
Lloh9:
	adrp	x28, _EAGAIN@GOTPAGE
Lloh10:
	ldr	x28, [x28, _EAGAIN@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w1, [x19, #4]
	mov	w0, #-1
	bl	___archive_check_child
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
	ldr	w0, [x19, #4]
	mov	x1, x21
	mov	x2, x22
	bl	_read
	ldr	x8, [x25]
	ldr	x9, [x26]
	cmn	w0, #1
	ccmp	x8, x9, #0, eq
	b.eq	LBB0_2
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w0, #0
	b.gt	LBB0_20
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	cbz	w0, LBB0_18
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x9, [x27]
	cmn	w0, #1
	ccmp	x8, x9, #0, eq
	b.eq	LBB0_18
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	cmn	w0, #1
	b.ne	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x9, [x28]
	cmp	x8, x9
	b.ne	LBB0_19
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x19]
	cmn	w8, #1
	b.eq	LBB0_1
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x20]
	add	x2, sp, #12
	mov	w1, #1
	bl	___archive_read_filter_ahead
	mov	x24, x0
	cbz	x0, LBB0_13
LBB0_10:                                ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [x19]
	ldr	w2, [sp, #12]
	mov	x1, x24
	bl	_write
	ldr	x8, [x25]
	ldr	x9, [x26]
	cmn	w0, #1
	ccmp	x8, x9, #0, eq
	b.eq	LBB0_10
; %bb.11:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x23, x0
	cmp	w0, #1
	b.lt	LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x20]
	mov	x1, x23
	bl	___archive_read_filter_consume
	b	LBB0_2
LBB0_13:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x19]
	bl	_close
	mov	w8, #-1
	str	w8, [x19]
	ldr	w0, [x19, #4]
Lloh11:
	adrp	x8, _F_SETFL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _F_SETFL@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_fcntl
	ldr	w0, [sp, #12]
	tbz	w0, #31, LBB0_2
	b	LBB0_20
LBB0_14:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x9, [x28]
	ldr	w0, [x19]
	cmn	w23, #1
	ccmp	x8, x9, #0, eq
	b.eq	LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_2 Depth=1
	bl	_close
	mov	w8, #-1
	str	w8, [x19]
	ldr	w0, [x19, #4]
Lloh14:
	adrp	x8, _F_SETFL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _F_SETFL@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_fcntl
	cmn	w23, #1
	b.ne	LBB0_2
; %bb.16:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x25]
	ldr	x9, [x27]
	cmp	x8, x9
	b.eq	LBB0_2
	b	LBB0_19
LBB0_17:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w1, [x19, #4]
	bl	___archive_check_child
	b	LBB0_2
LBB0_18:
	mov	x0, x20
	mov	x1, x19
	bl	_child_stop
	b	LBB0_20
LBB0_19:
	mov	w0, #-1
LBB0_20:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_SSIZE_MAX,8,3                  ; @SSIZE_MAX
	.comm	_errno,8,3                      ; @errno
	.comm	_EINTR,8,3                      ; @EINTR
	.comm	_EPIPE,8,3                      ; @EPIPE
	.comm	_EAGAIN,8,3                     ; @EAGAIN
	.comm	_F_SETFL,4,2                    ; @F_SETFL
	.no_dead_strip	_child_read
.subsections_via_symbols
