	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function advance_file_pointer
_advance_file_pointer:                  ## @advance_file_pointer
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$-1, %r14d
	cmpl	$0, (%rdi)
	je	LBB0_1
LBB0_20:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	8(%rdi), %rsi
	testq	%rsi, %rsi
	jle	LBB0_2
## %bb.3:
	movl	%r15d, %edi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_minimum
	movq	%rax, %r14
	subq	%rax, 8(%rbx)
	subl	%r14d, %r15d
	movdqu	16(%rbx), %xmm0
	movq	%rax, %xmm1
	pshufd	$68, %xmm1, %xmm1               ## xmm1 = xmm1[0,1,0,1]
	paddq	%xmm0, %xmm1
	movdqu	%xmm1, 16(%rbx)
	jmp	LBB0_4
LBB0_2:
	xorl	%r14d, %r14d
LBB0_4:
	movq	32(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.5:
	movl	%r15d, %edi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_minimum
	addq	%rax, 40(%rbx)
	subq	%rax, 32(%rbx)
	subl	%eax, %r15d
	addq	%rax, 24(%rbx)
	addl	%eax, %r14d
LBB0_6:
	testl	%r15d, %r15d
	je	LBB0_20
## %bb.7:
	movq	48(%rbx), %rcx
	testq	%rcx, %rcx
	je	LBB0_11
## %bb.8:
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	*%rcx
	testl	%eax, %eax
	js	LBB0_9
## %bb.10:
	movl	%eax, %ecx
	addq	%rcx, 24(%rbx)
	addl	%eax, %r14d
	subl	%eax, %r15d
	je	LBB0_20
LBB0_11:
	leaq	80(%rbx), %r12
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	*56(%rbx)
	testq	%rax, %rax
	js	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=1
	jne	LBB0_18
## %bb.15:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	88(%rbx), %rax
	movl	(%rax), %esi
	movl	4(%rax), %eax
	decl	%eax
	cmpl	%eax, %esi
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_12 Depth=1
	incl	%esi
	movq	%rbx, %rdi
	callq	_client_switch_proxy
	cmpq	(%r13), %rax
	je	LBB0_12
	jmp	LBB0_17
LBB0_18:                                ##   in Loop: Header=BB0_12 Depth=1
	movslq	%r15d, %rcx
	movq	%rax, %rdx
	subq	%rcx, %rdx
	jge	LBB0_19
## %bb.21:                              ##   in Loop: Header=BB0_12 Depth=1
	addq	%rax, 24(%rbx)
	addl	%eax, %r14d
	subl	%eax, %r15d
	jmp	LBB0_12
LBB0_17:
	movq	$0, 80(%rbx)
	movl	$1, 64(%rbx)
	jmp	LBB0_20
LBB0_9:
	movl	$1, (%rbx)
	movl	%eax, %r14d
	jmp	LBB0_20
LBB0_13:
	movq	$0, 80(%rbx)
	movl	$1, (%rbx)
	movl	%eax, %r14d
	jmp	LBB0_20
LBB0_19:
	movq	80(%rbx), %rsi
	addq	%rcx, %rsi
	movq	%rsi, 40(%rbx)
	movq	%rdx, 32(%rbx)
	movq	%rax, 72(%rbx)
	addl	%r15d, %r14d
	addq	%rcx, 24(%rbx)
	jmp	LBB0_20
	.cfi_endproc
                                        ## -- End function
	.comm	_ARCHIVE_OK,8,3                 ## @ARCHIVE_OK
	.no_dead_strip	_advance_file_pointer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function advance_file_pointer
_advance_file_pointer:                  ; @advance_file_pointer
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	w8, [x0]
	cbz	w8, LBB0_3
; %bb.1:
	mov	w20, #-1
LBB0_2:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	x21, x1
	mov	x19, x0
	ldr	x1, [x0, #8]
	cmp	x1, #1
	b.lt	LBB0_17
; %bb.4:
	mov	x0, x21
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_minimum
	mov	x20, x0
	ldr	x8, [x19, #8]
	sub	x8, x8, x0
	str	x8, [x19, #8]
	sub	w21, w21, w20
	ldr	q0, [x19, #16]
	dup.2d	v1, x0
	add.2d	v0, v0, v1
	str	q0, [x19, #16]
	ldr	x1, [x19, #32]
	cbz	x1, LBB0_6
LBB0_5:
	mov	x0, x21
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_minimum
	ldr	x8, [x19, #40]
	add	x8, x8, x0
	str	x8, [x19, #40]
	ldp	x9, x8, [x19, #24]
	sub	x8, x8, x0
	sub	w21, w21, w0
	add	x9, x9, x0
	stp	x9, x8, [x19, #24]
	add	w20, w20, w0
LBB0_6:
	cbz	w21, LBB0_2
; %bb.7:
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_10
; %bb.8:
	mov	x0, x19
	mov	x1, x21
	blr	x8
	tbnz	w0, #31, LBB0_19
; %bb.9:
	ldr	x8, [x19, #24]
	add	x8, x8, w0, uxtw
	str	x8, [x19, #24]
	add	w20, w0, w20
	subs	w21, w21, w0
	b.eq	LBB0_2
LBB0_10:
	add	x22, x19, #80
Lloh0:
	adrp	x23, _ARCHIVE_OK@GOTPAGE
Lloh1:
	ldr	x23, [x23, _ARCHIVE_OK@GOTPAGEOFF]
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #56]
	mov	x0, x19
	mov	x1, x22
	blr	x8
	tbnz	x0, #63, LBB0_20
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	cbnz	x0, LBB0_15
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x9, [x19, #88]
	ldp	w8, w9, [x9]
	sub	w9, w9, #1
	cmp	w8, w9
	b.eq	LBB0_18
; %bb.14:                               ;   in Loop: Header=BB0_11 Depth=1
	add	w1, w8, #1
	mov	x0, x19
	bl	_client_switch_proxy
	ldr	x8, [x23]
	cmp	x0, x8
	b.eq	LBB0_11
	b	LBB0_18
LBB0_15:                                ;   in Loop: Header=BB0_11 Depth=1
	sxtw	x8, w21
	subs	x9, x0, x8
	b.ge	LBB0_21
; %bb.16:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x8, [x19, #24]
	add	x8, x8, x0
	str	x8, [x19, #24]
	add	w20, w20, w0
	sub	w21, w21, w0
	b	LBB0_11
LBB0_17:
	mov	w20, #0
	ldr	x1, [x19, #32]
	cbnz	x1, LBB0_5
	b	LBB0_6
LBB0_18:
	str	xzr, [x19, #80]
	mov	w8, #1
	str	w8, [x19, #64]
	b	LBB0_2
LBB0_19:
	mov	w8, #1
	str	w8, [x19]
	mov	x20, x0
	b	LBB0_2
LBB0_20:
	str	xzr, [x19, #80]
	mov	w8, #1
	str	w8, [x19]
	mov	x20, x0
	b	LBB0_2
LBB0_21:
	ldr	x10, [x19, #80]
	add	x10, x10, x8
	stp	x9, x10, [x19, #32]
	str	x0, [x19, #72]
	add	w20, w20, w21
	ldr	x10, [x19, #24]
	add	x8, x10, x8
	str	x8, [x19, #24]
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ARCHIVE_OK,8,3                 ; @ARCHIVE_OK
	.no_dead_strip	_advance_file_pointer
.subsections_via_symbols
