	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_archive_entry_update_link_utf8 ## -- Begin function archive_entry_update_link_utf8
	.p2align	4, 0x90
_archive_entry_update_link_utf8:        ## @archive_entry_update_link_utf8
	.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
	movq	_AE_SET_SYMLINK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%ecx, %ecx
	andl	(%rdi), %eax
	movq	%rsi, %rdx
	setne	%cl
	movl	8(%rdi), %eax
	leaq	(%rdi,%rcx,8), %rsi
	addq	$4, %rsi
	movl	%eax, %edi
	callq	_archive_mstring_update_utf8
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	___archive_errx
	jmp	LBB0_4
LBB0_1:
	movl	$1, %ebx
LBB0_4:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AE_SET_SYMLINK,4,2             ## @AE_SET_SYMLINK
	.comm	_errno,8,3                      ## @errno
	.comm	_ENOMEM,8,3                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No memory"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_archive_entry_update_link_utf8 ; -- Begin function archive_entry_update_link_utf8
	.p2align	2
_archive_entry_update_link_utf8:        ; @archive_entry_update_link_utf8
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x2, x1
	ldr	w9, [x0]
Lloh0:
	adrp	x8, _AE_SET_SYMLINK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AE_SET_SYMLINK@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x8]
	ldr	w8, [x0, #8]
	add	x11, x0, #4
	add	x12, x0, #12
	tst	w10, w9
	csel	x1, x11, x12, eq
	mov	x0, x8
	bl	_archive_mstring_update_utf8
	cbz	w0, LBB0_4
; %bb.1:
Lloh3:
	adrp	x8, _errno@GOTPAGE
Lloh4:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _ENOMEM@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ENOMEM@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	___archive_errx
LBB0_3:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_AE_SET_SYMLINK,4,2             ; @AE_SET_SYMLINK
	.comm	_errno,8,3                      ; @errno
	.comm	_ENOMEM,8,3                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No memory"

.subsections_via_symbols
