	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bad_link
_bad_link:                              ## @bad_link
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdx, %rcx
	movq	_R_MAGIC_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdx
	callq	_file_error
	movl	$-1, %eax
	popq	%rbp
	retq
LBB0_2:
	leaq	L_.str(%rip), %rsi
	movq	%rcx, %rdx
	callq	_file_printf
	xorl	%ecx, %ecx
	cmpl	$-1, %eax
	setne	%cl
	leal	(%rcx,%rcx), %eax
	decl	%eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"broken symbolic link to `%s'"

	.comm	_R_MAGIC_ERROR,4,2              ## @R_MAGIC_ERROR
	.comm	_ELOOP,4,2                      ## @ELOOP
	.no_dead_strip	_bad_link
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bad_link
_bad_link:                              ; @bad_link
	.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	x3, x2
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _R_MAGIC_ERROR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _R_MAGIC_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	bl	_file_error
	mov	w0, #-1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x3
	bl	_file_printf
	cmn	w0, #1
	mov	w8, #-1
	cneg	w0, w8, ne
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"broken symbolic link to `%s'"

	.comm	_R_MAGIC_ERROR,4,2              ; @R_MAGIC_ERROR
	.comm	_ELOOP,4,2                      ; @ELOOP
	.no_dead_strip	_bad_link
.subsections_via_symbols
