	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function archive_write_ar_finish_entry
_archive_write_ar_finish_entry:         ## @archive_write_ar_finish_entry
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdi), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.1:
	movq	_ARCHIVE_ERRNO_MISC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	xorl	%eax, %eax
	callq	_archive_set_error
LBB0_2:
	movq	_ARCHIVE_WARN@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_4:
	movl	8(%rax), %ecx
	cmpl	$1, %ecx
	je	LBB0_7
## %bb.5:
	testl	%ecx, %ecx
	jne	LBB0_8
## %bb.6:
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_7:
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edx
	popq	%rbp
	jmp	___archive_write_output         ## TAILCALL
LBB0_8:
	movq	_ARCHIVE_ERRNO_MISC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	xorl	%eax, %eax
	callq	_archive_set_error
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_ARCHIVE_ERRNO_MISC,4,2         ## @ARCHIVE_ERRNO_MISC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Entry remaining bytes larger than 0"

	.comm	_ARCHIVE_WARN,4,2               ## @ARCHIVE_WARN
	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
L_.str.1:                               ## @.str.1
	.asciz	"Padding wrong size: %ju should be 1 or 0"

L_.str.2:                               ## @.str.2
	.asciz	"\n"

	.no_dead_strip	_archive_write_ar_finish_entry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function archive_write_ar_finish_entry
_archive_write_ar_finish_entry:         ; @archive_write_ar_finish_entry
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	ldr	x8, [x0, #8]
	ldr	x9, [x8]
	cbz	x9, LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _ARCHIVE_ERRNO_MISC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ARCHIVE_ERRNO_MISC@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
LBB0_2:
	bl	_archive_set_error
Lloh5:
	adrp	x8, _ARCHIVE_WARN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ARCHIVE_WARN@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
LBB0_4:
	ldr	w8, [x8, #8]
	cmp	w8, #1
	b.eq	LBB0_7
; %bb.5:
	cbnz	w8, LBB0_8
; %bb.6:
Lloh7:
	adrp	x8, _ARCHIVE_OK@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ARCHIVE_OK@GOTPAGEOFF]
	b	LBB0_3
LBB0_7:
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w2, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	b	___archive_write_output
LBB0_8:
Lloh11:
	adrp	x9, _ARCHIVE_ERRNO_MISC@GOTPAGE
Lloh12:
	ldr	x9, [x9, _ARCHIVE_ERRNO_MISC@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x9]
	str	x8, [sp]
Lloh14:
	adrp	x2, l_.str.1@PAGE
Lloh15:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_ARCHIVE_ERRNO_MISC,4,2         ; @ARCHIVE_ERRNO_MISC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Entry remaining bytes larger than 0"

	.comm	_ARCHIVE_WARN,4,2               ; @ARCHIVE_WARN
	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
l_.str.1:                               ; @.str.1
	.asciz	"Padding wrong size: %ju should be 1 or 0"

l_.str.2:                               ; @.str.2
	.asciz	"\n"

	.no_dead_strip	_archive_write_ar_finish_entry
.subsections_via_symbols
