	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_symlink
_handle_symlink:                        ## @handle_symlink
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -112(%rbp)                ## 8-byte Spill
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_PATH_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%r13, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movzbl	(%r12), %ebx
	movl	%ebx, %edi
	callq	_isxdigit
	movl	$-1, %r15d
	testl	%eax, %eax
	je	LBB0_17
## %bb.1:
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	movl	%ebx, %edi
	callq	_OPENSSL_hexchar2int
	movq	%rax, %r14
	movzbl	1(%r12), %ebx
	movl	%ebx, %edi
	callq	_isxdigit
	testl	%eax, %eax
	je	LBB0_17
## %bb.2:
	movl	%ebx, %edi
	callq	_OPENSSL_hexchar2int
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movzbl	2(%r12), %ebx
	movl	%ebx, %edi
	callq	_isxdigit
	testl	%eax, %eax
	je	LBB0_17
## %bb.3:
	movl	%ebx, %edi
	callq	_OPENSSL_hexchar2int
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movzbl	3(%r12), %ebx
	movl	%ebx, %edi
	callq	_isxdigit
	testl	%eax, %eax
	je	LBB0_17
## %bb.4:
	movl	%ebx, %edi
	callq	_OPENSSL_hexchar2int
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movzbl	4(%r12), %ebx
	movl	%ebx, %edi
	callq	_isxdigit
	testl	%eax, %eax
	je	LBB0_17
## %bb.5:
	movl	%ebx, %edi
	callq	_OPENSSL_hexchar2int
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movzbl	5(%r12), %ebx
	movl	%ebx, %edi
	callq	_isxdigit
	testl	%eax, %eax
	je	LBB0_17
## %bb.6:
	movl	%ebx, %edi
	callq	_OPENSSL_hexchar2int
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movzbl	6(%r12), %ebx
	movl	%ebx, %edi
	callq	_isxdigit
	testl	%eax, %eax
	je	LBB0_17
## %bb.7:
	movl	%ebx, %edi
	callq	_OPENSSL_hexchar2int
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movzbl	7(%r12), %ebx
	movl	%ebx, %edi
	callq	_isxdigit
	testl	%eax, %eax
	je	LBB0_17
## %bb.8:
	movl	%ebx, %edi
	callq	_OPENSSL_hexchar2int
	cmpb	$46, 8(%r12)
	jne	LBB0_17
## %bb.9:
	shll	$4, %r14d
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	addl	%r14d, %ecx
	shll	$4, %ecx
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	addl	%ecx, %edx
	shll	$4, %edx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	addl	%edx, %ecx
	shll	$4, %ecx
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	addl	%ecx, %edx
	shll	$4, %edx
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	addl	%edx, %ecx
	shll	$4, %ecx
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	addl	%ecx, %edx
	shll	$4, %edx
	addl	%edx, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_suffixes@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_OSSL_NELEM
	movl	%eax, %r14d
	movq	(%rbx), %rcx
	testl	%eax, %eax
	movl	$1, %eax
	cmovlel	%r14d, %eax
	leaq	9(%r12), %rdx
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	decl	%eax
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movl	%r14d, %eax
	decl	%eax
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	leaq	(%rcx,%rax,8), %r15
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	cmpl	$2, %r14d
	jl	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	(%r15), %rbx
	movq	%rbx, %rdi
	callq	_strlen
	movq	%rbx, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	%rax, %rdx
	callq	_strncasecmp
	decl	%r14d
	addq	$-8, %r15
	testq	%rax, %rax
	jne	LBB0_10
	jmp	LBB0_13
LBB0_11:
	movl	-64(%rbp), %r14d                ## 4-byte Reload
LBB0_13:
	movslq	%r14d, %rax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx,%rax,8), %rdi
	callq	_strlen
	addl	$9, %eax
	cltq
	addq	%rax, %r12
	leaq	-120(%rbp), %rsi
	movq	%r12, %rdi
	movl	$10, %edx
	callq	_strtoul
	movl	%eax, %ebx
	movq	-120(%rbp), %rax
	cmpb	$0, (%rax)
	movl	$-1, %r15d
	jne	LBB0_17
## %bb.14:
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movl	%r13d, %edx
	callq	_readlink
	testl	%eax, %eax
	js	LBB0_17
## %bb.15:
	cmpl	%r13d, %eax
	jge	LBB0_17
## %bb.16:
	movl	%eax, %eax
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movb	$0, (%rdx,%rax)
	movl	%r14d, %edi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	movl	%ebx, %r9d
	callq	_add_entry
	movl	%eax, %r15d
LBB0_17:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_19
## %bb.18:
	movl	%r15d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_PATH_MAX,4,2                   ## @PATH_MAX
	.comm	_suffixes,8,3                   ## @suffixes
	.no_dead_strip	_handle_symlink
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_symlink
_handle_symlink:                        ; @handle_symlink
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #32
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _PATH_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PATH_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
	mov	x9, x20
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x20, #15
	and	x9, x9, #0x1fffffff0
	sub	x19, x8, x9
	mov	sp, x19
	ldrb	w23, [x0]
	mov	x0, x23
	bl	_isxdigit
	cbz	w0, LBB0_14
; %bb.1:
	mov	x0, x23
	bl	_OPENSSL_hexchar2int
	mov	x23, x0
	ldrb	w24, [x22, #1]
	mov	x0, x24
	bl	_isxdigit
	cbz	w0, LBB0_14
; %bb.2:
	mov	x0, x24
	bl	_OPENSSL_hexchar2int
	mov	x24, x0
	ldrb	w25, [x22, #2]
	mov	x0, x25
	bl	_isxdigit
	cbz	w0, LBB0_14
; %bb.3:
	mov	x0, x25
	bl	_OPENSSL_hexchar2int
	mov	x25, x0
	ldrb	w26, [x22, #3]
	mov	x0, x26
	bl	_isxdigit
	cbz	w0, LBB0_14
; %bb.4:
	mov	x0, x26
	bl	_OPENSSL_hexchar2int
	mov	x26, x0
	ldrb	w27, [x22, #4]
	mov	x0, x27
	bl	_isxdigit
	cbz	w0, LBB0_14
; %bb.5:
	mov	x0, x27
	bl	_OPENSSL_hexchar2int
	mov	x27, x0
	ldrb	w28, [x22, #5]
	mov	x0, x28
	bl	_isxdigit
	cbz	w0, LBB0_14
; %bb.6:
	mov	x0, x28
	bl	_OPENSSL_hexchar2int
	stur	x0, [x29, #-104]                ; 8-byte Folded Spill
	ldrb	w28, [x22, #6]
	mov	x0, x28
	bl	_isxdigit
	cbz	w0, LBB0_14
; %bb.7:
	mov	x0, x28
	bl	_OPENSSL_hexchar2int
	stur	x0, [x29, #-112]                ; 8-byte Folded Spill
	ldrb	w28, [x22, #7]
	mov	x0, x28
	bl	_isxdigit
	cbz	w0, LBB0_14
; %bb.8:
	mov	x0, x28
	bl	_OPENSSL_hexchar2int
	ldrb	w8, [x22, #8]
	cmp	w8, #46
	b.ne	LBB0_14
; %bb.9:
	add	w8, w24, w23, lsl #4
	add	w8, w25, w8, lsl #4
	add	w8, w26, w8, lsl #4
	add	w8, w27, w8, lsl #4
	ldur	x9, [x29, #-104]                ; 8-byte Folded Reload
	add	w8, w9, w8, lsl #4
	ldur	x9, [x29, #-112]                ; 8-byte Folded Reload
	add	w8, w9, w8, lsl #4
	add	w8, w0, w8, lsl #4
	stur	w8, [x29, #-104]                ; 4-byte Folded Spill
Lloh8:
	adrp	x23, _suffixes@GOTPAGE
Lloh9:
	ldr	x23, [x23, _suffixes@GOTPAGEOFF]
	ldr	x0, [x23]
	bl	_OSSL_NELEM
	mov	x24, x0
	ldr	x27, [x23]
	add	x25, x22, #9
	subs	w8, w0, #1
	csinc	w9, w0, wzr, lt
	sub	w28, w9, #1
	add	x23, x27, w8, uxtw #3
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	cmp	w24, #2
	b.lt	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x26, [x23], #-8
	mov	x0, x26
	bl	_strlen
	mov	x2, x0
	mov	x0, x26
	mov	x1, x25
	bl	_strncasecmp
	sub	w24, w24, #1
	cbnz	x0, LBB0_10
	b	LBB0_13
LBB0_12:
	mov	x24, x28
LBB0_13:
	ldr	x0, [x27, w24, sxtw #3]
	bl	_strlen
	add	w8, w0, #9
	add	x0, x22, w8, sxtw
	sub	x1, x29, #96
	mov	w2, #10
	bl	_strtoul
	ldur	x8, [x29, #-96]
	ldrb	w8, [x8]
	cbz	w8, LBB0_17
LBB0_14:
	mov	w0, #-1
LBB0_15:
	ldur	x8, [x29, #-88]
Lloh10:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh11:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_20
; %bb.16:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_17:
	mov	x22, x0
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_readlink
	mov	x8, x0
	mov	w0, #-1
	tbnz	w8, #31, LBB0_15
; %bb.18:
	cmp	w8, w20
	b.ge	LBB0_15
; %bb.19:
	strb	wzr, [x19, w8, uxtw]
	mov	x0, x24
	ldur	w1, [x29, #-104]                ; 4-byte Folded Reload
	mov	x2, x19
	mov	x3, #0
	mov	w4, #0
	mov	x5, x22
	bl	_add_entry
	b	LBB0_15
LBB0_20:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_PATH_MAX,4,2                   ; @PATH_MAX
	.comm	_suffixes,8,3                   ; @suffixes
	.no_dead_strip	_handle_symlink
.subsections_via_symbols
