	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_archive_write_disk_set_standard_lookup ## -- Begin function archive_write_disk_set_standard_lookup
	.p2align	4, 0x90
_archive_write_disk_set_standard_lookup: ## @archive_write_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
	movq	_cache_size@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, %edi
	movl	$4, %esi
	callq	_calloc
	movq	%rax, %r15
	movl	%ebx, %edi
	movl	$4, %esi
	callq	_calloc
	movq	%rax, %rbx
	testq	%r15, %r15
	je	LBB0_2
## %bb.1:
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.3:
	movq	_lookup_gid@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_cleanup@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_archive_write_disk_set_group_lookup
	movq	_lookup_uid@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r12), %ecx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_archive_write_disk_set_user_lookup
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	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	_cache_size,4,2                 ## @cache_size
	.comm	_ARCHIVE_FATAL,4,2              ## @ARCHIVE_FATAL
	.comm	_lookup_gid,4,2                 ## @lookup_gid
	.comm	_cleanup,4,2                    ## @cleanup
	.comm	_lookup_uid,4,2                 ## @lookup_uid
	.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_write_disk_set_standard_lookup ; -- Begin function archive_write_disk_set_standard_lookup
	.p2align	2
_archive_write_disk_set_standard_lookup: ; @archive_write_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	x19, x0
Lloh0:
	adrp	x8, _cache_size@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cache_size@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	mov	x0, x21
	mov	w1, #4
	bl	_calloc
	mov	x20, x0
	mov	x0, x21
	mov	w1, #4
	bl	_calloc
	mov	x21, x0
	cmp	x20, #0
	ccmp	x0, #0, #4, ne
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_free
	mov	x0, x21
	bl	_free
Lloh3:
	adrp	x8, _ARCHIVE_FATAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ARCHIVE_FATAL@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh5:
	adrp	x8, _lookup_gid@GOTPAGE
Lloh6:
	ldr	x8, [x8, _lookup_gid@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
Lloh8:
	adrp	x22, _cleanup@GOTPAGE
Lloh9:
	ldr	x22, [x22, _cleanup@GOTPAGEOFF]
	ldr	w3, [x22]
	mov	x0, x19
	mov	x1, x21
	bl	_archive_write_disk_set_group_lookup
Lloh10:
	adrp	x8, _lookup_uid@GOTPAGE
Lloh11:
	ldr	x8, [x8, _lookup_uid@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	ldr	w3, [x22]
	mov	x0, x19
	mov	x1, x20
	bl	_archive_write_disk_set_user_lookup
Lloh13:
	adrp	x8, _ARCHIVE_OK@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ARCHIVE_OK@GOTPAGEOFF]
LBB0_3:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_cache_size,4,2                 ; @cache_size
	.comm	_ARCHIVE_FATAL,4,2              ; @ARCHIVE_FATAL
	.comm	_lookup_gid,4,2                 ; @lookup_gid
	.comm	_cleanup,4,2                    ; @cleanup
	.comm	_lookup_uid,4,2                 ; @lookup_uid
	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
.subsections_via_symbols
