	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___archive_read_next_passphrase ## -- Begin function __archive_read_next_passphrase
	.p2align	4, 0x90
___archive_read_next_passphrase:        ## @__archive_read_next_passphrase
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	testl	%eax, %eax
	js	LBB0_3
## %bb.1:
	cmpl	$2, %eax
	jb	LBB0_8
## %bb.2:
	decl	%eax
	movl	%eax, (%rbx)
	movq	%rbx, %rdi
	callq	_remove_passphrases_from_head
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_add_passphrase_to_tail
	movq	24(%rbx), %rax
	testq	%rax, %rax
	jne	LBB0_7
	jmp	LBB0_11
LBB0_3:
	movq	24(%rbx), %rax
	xorl	%ecx, %ecx
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	%rax, %rdx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	incl	%ecx
	movq	8(%rdx), %rdx
	testq	%rdx, %rdx
	jne	LBB0_5
LBB0_6:
	movl	%ecx, (%rbx)
	testq	%rax, %rax
	je	LBB0_11
LBB0_7:
	movq	(%rax), %r14
	jmp	LBB0_18
LBB0_8:
	cmpl	$1, %eax
	jne	LBB0_11
## %bb.9:
	movl	$0, (%rbx)
	movq	24(%rbx), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_11
## %bb.10:
	movq	%rbx, %rdi
	callq	_remove_passphrases_from_head
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_add_passphrase_to_tail
LBB0_11:
	movq	8(%rbx), %rcx
	testq	%rcx, %rcx
	je	LBB0_17
## %bb.12:
	leaq	32(%rbx), %rdi
	movl	16(%rbx), %esi
	callq	*%rcx
	testq	%rax, %rax
	je	LBB0_17
## %bb.13:
	movq	%rax, %r14
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_new_read_passphrase
	testq	%rax, %rax
	je	LBB0_17
## %bb.14:
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_insert_passphrase_to_head
	movl	$1, (%rbx)
	jmp	LBB0_18
LBB0_17:
	xorl	%r14d, %r14d
LBB0_18:
	movq	%r14, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___archive_read_next_passphrase ; -- Begin function __archive_read_next_passphrase
	.p2align	2
___archive_read_next_passphrase:        ; @__archive_read_next_passphrase
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w8, [x0]
	tbnz	w8, #31, LBB0_3
; %bb.1:
	cmp	w8, #2
	b.lo	LBB0_7
; %bb.2:
	sub	w8, w8, #1
	str	w8, [x19]
	mov	x0, x19
	bl	_remove_passphrases_from_head
	mov	x1, x0
	mov	x0, x19
	bl	_add_passphrase_to_tail
	ldr	x8, [x19, #24]
	cbnz	x8, LBB0_11
	b	LBB0_12
LBB0_3:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_10
; %bb.4:
	mov	w9, #0
	mov	x10, x8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	w9, w9, #1
	ldr	x10, [x10, #8]
	cbnz	x10, LBB0_5
; %bb.6:
	str	w9, [x19]
	cbnz	x8, LBB0_11
	b	LBB0_12
LBB0_7:
	cmp	w8, #1
	b.ne	LBB0_12
; %bb.8:
	str	wzr, [x19]
	ldr	x8, [x19, #24]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_12
; %bb.9:
	mov	x0, x19
	bl	_remove_passphrases_from_head
	mov	x1, x0
	mov	x0, x19
	bl	_add_passphrase_to_tail
	b	LBB0_12
LBB0_10:
	mov	w9, #0
	str	wzr, [x19]
	cbz	x8, LBB0_12
LBB0_11:
	ldr	x20, [x8]
	b	LBB0_17
LBB0_12:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_16
; %bb.13:
	add	x0, x19, #32
	ldr	w1, [x19, #16]
	blr	x8
	mov	x20, x0
	cbz	x0, LBB0_17
; %bb.14:
	mov	x0, x19
	mov	x1, x20
	bl	_new_read_passphrase
	cbz	x0, LBB0_16
; %bb.15:
	mov	x1, x0
	mov	x0, x19
	bl	_insert_passphrase_to_head
	mov	w8, #1
	str	w8, [x19]
	b	LBB0_17
LBB0_16:
	mov	x20, #0
LBB0_17:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
