	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_archive_read_disk_open_w       ## -- Begin function archive_read_disk_open_w
	.p2align	4, 0x90
_archive_read_disk_open_w:              ## @archive_read_disk_open_w
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_ARCHIVE_READ_DISK_MAGIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ARCHIVE_STATE_NEW@GOTPCREL(%rip), %rax
	movq	_ARCHIVE_STATE_CLOSED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	leaq	L_.str(%rip), %rcx
	callq	_archive_check_magic
	movq	%r14, %rdi
	callq	_archive_clear_error
	leaq	-32(%rbp), %r15
	movq	%r15, %rdi
	callq	_archive_string_init
	movq	%rbx, %rdi
	callq	_wcslen
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_archive_string_append_from_wcs
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rsi
	jne	LBB0_3
## %bb.2:
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_4
LBB0_5:
	movl	-32(%rbp), %esi
	movq	%r14, %rdi
	callq	__archive_read_disk_open
	movl	%eax, %ebx
	jmp	LBB0_6
LBB0_3:
	movq	_ARCHIVE_ERRNO_MISC@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	leaq	L_.str.2(%rip), %rdx
LBB0_4:
	movq	%r14, %rdi
	callq	_archive_set_error
	movq	_ARCHIVE_STATE_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	movq	_ARCHIVE_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_6:
	leaq	-32(%rbp), %rdi
	callq	_archive_string_free
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARCHIVE_READ_DISK_MAGIC,4,2    ## @ARCHIVE_READ_DISK_MAGIC
	.comm	_ARCHIVE_STATE_NEW,4,2          ## @ARCHIVE_STATE_NEW
	.comm	_ARCHIVE_STATE_CLOSED,4,2       ## @ARCHIVE_STATE_CLOSED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"archive_read_disk_open_w"

	.comm	_errno,8,3                      ## @errno
	.comm	_ENOMEM,8,3                     ## @ENOMEM
L_.str.1:                               ## @.str.1
	.asciz	"Can't allocate memory"

	.comm	_ARCHIVE_ERRNO_MISC,8,3         ## @ARCHIVE_ERRNO_MISC
L_.str.2:                               ## @.str.2
	.asciz	"Can't convert a path to a char string"

	.comm	_ARCHIVE_STATE_FATAL,4,2        ## @ARCHIVE_STATE_FATAL
	.comm	_ARCHIVE_FATAL,4,2              ## @ARCHIVE_FATAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_archive_read_disk_open_w       ; -- Begin function archive_read_disk_open_w
	.p2align	2
_archive_read_disk_open_w:              ; @archive_read_disk_open_w
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _ARCHIVE_READ_DISK_MAGIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ARCHIVE_READ_DISK_MAGIC@GOTPAGEOFF]
Lloh2:
	adrp	x9, _ARCHIVE_STATE_NEW@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ARCHIVE_STATE_NEW@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	ldr	w8, [x9]
Lloh6:
	adrp	x9, _ARCHIVE_STATE_CLOSED@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ARCHIVE_STATE_CLOSED@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w2, w9, w8
Lloh9:
	adrp	x3, l_.str@PAGE
Lloh10:
	add	x3, x3, l_.str@PAGEOFF
	bl	_archive_check_magic
	mov	x0, x19
	bl	_archive_clear_error
	add	x0, sp, #8
	bl	_archive_string_init
	mov	x0, x20
	bl	_wcslen
	mov	x2, x0
	add	x0, sp, #8
	mov	x1, x20
	bl	_archive_string_append_from_wcs
	cbz	x0, LBB0_3
; %bb.1:
Lloh11:
	adrp	x8, _errno@GOTPAGE
Lloh12:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh13:
	ldr	x1, [x8]
Lloh14:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	cmp	x1, x8
	b.ne	LBB0_4
; %bb.2:
Lloh17:
	adrp	x2, l_.str.1@PAGE
Lloh18:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_5
LBB0_3:
	ldr	w1, [sp, #8]
	mov	x0, x19
	bl	__archive_read_disk_open
	mov	x19, x0
	b	LBB0_6
LBB0_4:
Lloh19:
	adrp	x8, _ARCHIVE_ERRNO_MISC@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ARCHIVE_ERRNO_MISC@GOTPAGEOFF]
Lloh21:
	ldr	x1, [x8]
Lloh22:
	adrp	x2, l_.str.2@PAGE
Lloh23:
	add	x2, x2, l_.str.2@PAGEOFF
LBB0_5:
	mov	x0, x19
	bl	_archive_set_error
Lloh24:
	adrp	x8, _ARCHIVE_STATE_FATAL@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ARCHIVE_STATE_FATAL@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	str	w8, [x19]
Lloh27:
	adrp	x8, _ARCHIVE_FATAL@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ARCHIVE_FATAL@GOTPAGEOFF]
Lloh29:
	ldr	w19, [x8]
LBB0_6:
	add	x0, sp, #8
	bl	_archive_string_free
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_ARCHIVE_READ_DISK_MAGIC,4,2    ; @ARCHIVE_READ_DISK_MAGIC
	.comm	_ARCHIVE_STATE_NEW,4,2          ; @ARCHIVE_STATE_NEW
	.comm	_ARCHIVE_STATE_CLOSED,4,2       ; @ARCHIVE_STATE_CLOSED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"archive_read_disk_open_w"

	.comm	_errno,8,3                      ; @errno
	.comm	_ENOMEM,8,3                     ; @ENOMEM
l_.str.1:                               ; @.str.1
	.asciz	"Can't allocate memory"

	.comm	_ARCHIVE_ERRNO_MISC,8,3         ; @ARCHIVE_ERRNO_MISC
l_.str.2:                               ; @.str.2
	.asciz	"Can't convert a path to a char string"

	.comm	_ARCHIVE_STATE_FATAL,4,2        ; @ARCHIVE_STATE_FATAL
	.comm	_ARCHIVE_FATAL,4,2              ; @ARCHIVE_FATAL
.subsections_via_symbols
