	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_archive_write_disk_new         ## -- Begin function archive_write_disk_new
	.p2align	4, 0x90
_archive_write_disk_new:                ## @archive_write_disk_new
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	$1, %edi
	movl	$32, %esi
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %rbx
	movq	_ARCHIVE_WRITE_DISK_MAGIC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movq	_ARCHIVE_STATE_HEADER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	xorl	%eax, %eax
	callq	_archive_write_disk_vtable
	movl	%eax, 4(%rbx)
	xorl	%edi, %edi
	callq	_time
	movl	%eax, 28(%rbx)
	xorl	%edi, %edi
	callq	_umask
	movl	%eax, 24(%rbx)
	movl	%eax, %edi
	callq	_umask
	leaq	16(%rbx), %rdi
	movl	$512, %esi                      ## imm = 0x200
	callq	_archive_string_ensure
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	addq	$4, %rbx
	jmp	LBB0_5
LBB0_3:
	movq	%rbx, %rdi
	callq	_free
LBB0_4:
	xorl	%ebx, %ebx
LBB0_5:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARCHIVE_WRITE_DISK_MAGIC,4,2   ## @ARCHIVE_WRITE_DISK_MAGIC
	.comm	_ARCHIVE_STATE_HEADER,4,2       ## @ARCHIVE_STATE_HEADER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_archive_write_disk_new         ; -- Begin function archive_write_disk_new
	.p2align	2
_archive_write_disk_new:                ; @archive_write_disk_new
	.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	w0, #1
	mov	w1, #32
	bl	_calloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x8, _ARCHIVE_WRITE_DISK_MAGIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ARCHIVE_WRITE_DISK_MAGIC@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _ARCHIVE_STATE_HEADER@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ARCHIVE_STATE_HEADER@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #8]
	bl	_archive_write_disk_vtable
	mov	x20, x19
	str	w0, [x20, #4]!
	mov	x0, #0
	bl	_time
	str	w0, [x20, #24]
	mov	w0, #0
	bl	_umask
	str	w0, [x20, #20]
	bl	_umask
	add	x0, x20, #12
	mov	w1, #512
	bl	_archive_string_ensure
	cbnz	x0, LBB0_4
; %bb.2:
	mov	x0, x19
	bl	_free
LBB0_3:
	mov	x20, #0
LBB0_4:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ARCHIVE_WRITE_DISK_MAGIC,4,2   ; @ARCHIVE_WRITE_DISK_MAGIC
	.comm	_ARCHIVE_STATE_HEADER,4,2       ; @ARCHIVE_STATE_HEADER
.subsections_via_symbols
