	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function write_path
_write_path:                            ## @write_path
	.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
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_archive_entry_pathname
	movq	%rax, %r13
	movq	%rbx, %rdi
	callq	_archive_entry_filetype
	testq	%r13, %r13
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	movq	%r13, %rdi
	callq	_strlen
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	%eax, %edx
	callq	___archive_write_output
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_1
## %bb.3:
	movq	%r13, %rdi
	callq	_strlen
	movl	%eax, %r15d
	movq	_AE_IFDIR@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	%r13, %rdi
	callq	_strlen
	cmpq	%rbx, %r12
	jne	LBB0_7
## %bb.4:
	cltq
	cmpb	$47, -1(%rax,%r13)
	je	LBB0_7
## %bb.5:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	___archive_write_output
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_1
## %bb.6:
	incl	%r15d
	jmp	LBB0_7
LBB0_1:
	movq	_ARCHIVE_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_7:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARCHIVE_FATAL,4,2              ## @ARCHIVE_FATAL
	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
	.comm	_AE_IFDIR,8,3                   ## @AE_IFDIR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/"

	.no_dead_strip	_write_path
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function write_path
_write_path:                            ; @write_path
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_archive_entry_pathname
	mov	x21, x0
	mov	x0, x20
	bl	_archive_entry_filetype
	cbz	x21, LBB0_6
; %bb.1:
	mov	x22, x0
	mov	x0, x21
	bl	_strlen
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	___archive_write_output
Lloh0:
	adrp	x23, _ARCHIVE_OK@GOTPAGE
Lloh1:
	ldr	x23, [x23, _ARCHIVE_OK@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w0, w8
	b.ne	LBB0_6
; %bb.2:
	mov	x0, x21
	bl	_strlen
	mov	x20, x0
Lloh2:
	adrp	x8, _AE_IFDIR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AE_IFDIR@GOTPAGEOFF]
Lloh4:
	ldr	x24, [x8]
	mov	x0, x21
	bl	_strlen
	cmp	x22, x24
	b.ne	LBB0_7
; %bb.3:
	add	x8, x21, w0, sxtw
	ldurb	w8, [x8, #-1]
	cmp	w8, #47
	b.eq	LBB0_7
; %bb.4:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	w2, #1
	bl	___archive_write_output
	ldr	w8, [x23]
	cmp	w0, w8
	b.ne	LBB0_6
; %bb.5:
	add	w20, w20, #1
	b	LBB0_7
LBB0_6:
Lloh7:
	adrp	x8, _ARCHIVE_FATAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ARCHIVE_FATAL@GOTPAGEOFF]
Lloh9:
	ldr	w20, [x8]
LBB0_7:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_ARCHIVE_FATAL,4,2              ; @ARCHIVE_FATAL
	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
	.comm	_AE_IFDIR,8,3                   ; @AE_IFDIR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/"

	.no_dead_strip	_write_path
.subsections_via_symbols
