	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_archive_read_disk_set_standard_lookup ## -- Begin function archive_read_disk_set_standard_lookup
	.p2align	4, 0x90
_archive_read_disk_set_standard_lookup: ## @archive_read_disk_set_standard_lookup
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	$16, %edi
	callq	_malloc
	movq	%rax, %r15
	movl	$16, %edi
	callq	_malloc
	movq	%rax, %rbx
	testq	%r15, %r15
	je	LBB0_2
## %bb.1:
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.3:
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movq	%r14, 8(%r15)
	movq	_name_cache_size@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	%rax, (%r15)
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movq	%r14, 8(%rbx)
	movq	(%r12), %rax
	movq	%rax, (%rbx)
	movq	_lookup_gname@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_cleanup@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_archive_read_disk_set_gname_lookup
	movq	_lookup_uname@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r12), %ecx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_archive_read_disk_set_uname_lookup
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	callq	_archive_set_error
	movq	%r15, %rdi
	callq	_free
	movq	%rbx, %rdi
	callq	_free
	movq	_ARCHIVE_FATAL@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Can't allocate uname/gname lookup cache"

	.comm	_ARCHIVE_FATAL,4,2              ## @ARCHIVE_FATAL
	.comm	_name_cache_size,8,3            ## @name_cache_size
	.comm	_lookup_gname,4,2               ## @lookup_gname
	.comm	_cleanup,4,2                    ## @cleanup
	.comm	_lookup_uname,4,2               ## @lookup_uname
	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_archive_read_disk_set_standard_lookup ; -- Begin function archive_read_disk_set_standard_lookup
	.p2align	2
_archive_read_disk_set_standard_lookup: ; @archive_read_disk_set_standard_lookup
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x0
	mov	w0, #16
	bl	_malloc
	mov	x19, x0
	mov	w0, #16
	bl	_malloc
	mov	x21, x0
	cbz	x19, LBB0_3
; %bb.1:
	cbz	x21, LBB0_3
; %bb.2:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #16
	bl	_memset
Lloh0:
	adrp	x22, _name_cache_size@GOTPAGE
Lloh1:
	ldr	x22, [x22, _name_cache_size@GOTPAGEOFF]
	ldr	x8, [x22]
	stp	x8, x20, [x19]
	mov	x0, x21
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	ldr	x8, [x22]
	stp	x8, x20, [x21]
Lloh2:
	adrp	x8, _lookup_gname@GOTPAGE
Lloh3:
	ldr	x8, [x8, _lookup_gname@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
Lloh5:
	adrp	x22, _cleanup@GOTPAGE
Lloh6:
	ldr	x22, [x22, _cleanup@GOTPAGEOFF]
	ldr	w3, [x22]
	mov	x0, x20
	mov	x1, x21
	bl	_archive_read_disk_set_gname_lookup
Lloh7:
	adrp	x8, _lookup_uname@GOTPAGE
Lloh8:
	ldr	x8, [x8, _lookup_uname@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	ldr	w3, [x22]
	mov	x0, x20
	mov	x1, x19
	bl	_archive_read_disk_set_uname_lookup
Lloh10:
	adrp	x8, _ARCHIVE_OK@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ARCHIVE_OK@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh12:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x2, l_.str@PAGE
Lloh16:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	bl	_archive_set_error
	mov	x0, x19
	bl	_free
	mov	x0, x21
	bl	_free
Lloh17:
	adrp	x8, _ARCHIVE_FATAL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ARCHIVE_FATAL@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Can't allocate uname/gname lookup cache"

	.comm	_ARCHIVE_FATAL,4,2              ; @ARCHIVE_FATAL
	.comm	_name_cache_size,8,3            ; @name_cache_size
	.comm	_lookup_gname,4,2               ; @lookup_gname
	.comm	_cleanup,4,2                    ; @cleanup
	.comm	_lookup_uname,4,2               ; @lookup_uname
	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
.subsections_via_symbols
