	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_archive_write_new              ## -- Begin function archive_write_new
	.p2align	4, 0x90
_archive_write_new:                     ## @archive_write_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	$40, %esi
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %rbx
	movq	_ARCHIVE_WRITE_MAGIC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	_ARCHIVE_STATE_NEW@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	xorl	%eax, %eax
	callq	_archive_write_vtable
	movl	%eax, 24(%rbx)
	movabsq	$-4294957056, %rax              ## imm = 0xFFFFFFFF00002800
	movq	%rax, (%rbx)
	movl	$1024, 8(%rbx)                  ## imm = 0x400
	movl	$1, %edi
	movl	$1024, %esi                     ## imm = 0x400
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	%rax, %rcx
	movq	%rbx, %rax
	addq	$24, %rax
	movq	%rcx, 16(%rbx)
	jmp	LBB0_6
LBB0_4:
	movq	%rbx, %rdi
	callq	_free
LBB0_5:
	xorl	%eax, %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARCHIVE_WRITE_MAGIC,4,2        ## @ARCHIVE_WRITE_MAGIC
	.comm	_ARCHIVE_STATE_NEW,4,2          ## @ARCHIVE_STATE_NEW
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function archive_write_new
lCPI0_0:
	.long	10240                           ; 0x2800
	.long	4294967295                      ; 0xffffffff
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_archive_write_new
	.p2align	2
_archive_write_new:                     ; @archive_write_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, #40
	bl	_calloc
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x8, _ARCHIVE_WRITE_MAGIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ARCHIVE_WRITE_MAGIC@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _ARCHIVE_STATE_NEW@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ARCHIVE_STATE_NEW@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #28]
	bl	_archive_write_vtable
	mov	x20, x19
	str	w0, [x20, #24]!
Lloh6:
	adrp	x8, lCPI0_0@PAGE
Lloh7:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x19]
	mov	w8, #1024
	str	w8, [x19, #8]
	mov	w0, #1
	mov	w1, #1024
	bl	_calloc
	cbz	x0, LBB0_3
; %bb.2:
	str	x0, [x19, #16]
	b	LBB0_5
LBB0_3:
	mov	x0, x19
	bl	_free
LBB0_4:
	mov	x20, #0
LBB0_5:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdr	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ARCHIVE_WRITE_MAGIC,4,2        ; @ARCHIVE_WRITE_MAGIC
	.comm	_ARCHIVE_STATE_NEW,4,2          ; @ARCHIVE_STATE_NEW
.subsections_via_symbols
