	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function construct_path_with_fanout
_construct_path_with_fanout:            ## @construct_path_with_fanout
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movl	%esi, %ebx
	callq	_hash_to_hex
	movq	%rax, %r14
	movq	_the_hash_algo@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	xorl	%edi, %edi
	cmpb	%bl, (%rax)
	seta	%dil
	callq	_assert
	testl	%ebx, %ebx
	je	LBB0_1
## %bb.2:
	leal	-1(%rbx), %eax
	cmpb	$15, %al
	jb	LBB0_3
## %bb.4:
	movzbl	%al, %r8d
	leaq	(%r14,%r8,2), %rax
	addq	$2, %rax
	cmpq	%r15, %rax
	jbe	LBB0_6
## %bb.5:
	leaq	(%r8,%r8,2), %rax
	addq	%r15, %rax
	addq	$3, %rax
	cmpq	%rax, %r14
	jae	LBB0_6
LBB0_3:
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%r14,%rax), %edx
	movb	%dl, (%r15,%rcx)
	movzbl	1(%r14,%rax), %edx
	addq	$2, %rax
	movb	%dl, 1(%r15,%rcx)
	movb	$47, 2(%r15,%rcx)
	addq	$3, %rcx
	decb	%bl
	jne	LBB0_9
LBB0_10:
	movl	%ecx, %ecx
	andl	$-2, %eax
	jmp	LBB0_11
LBB0_1:
	xorl	%ecx, %ecx
	xorl	%eax, %eax
LBB0_11:
	addq	%rcx, %r15
	movq	_FANOUT_PATH_MAX@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	subq	%rcx, %rsi
	addq	%rax, %r14
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rdi
	movq	%r14, %rcx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_xsnprintf                      ## TAILCALL
LBB0_6:
	incq	%r8
	movl	%r8d, %r9d
	andl	$-16, %r9d
	leaq	(%r9,%r9,2), %rcx
	leaq	(%r9,%r9), %rax
	subb	%r9b, %bl
	leaq	31(%r14), %rdi
	xorl	%edx, %edx
	movl	$47, %r10d
	movd	%r10d, %xmm0
	movq	%r15, %r11
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm0, %xmm1
	pinsrb	$1, -9(%rdi,%rdx,2), %xmm1
	pinsrb	$2, -8(%rdi,%rdx,2), %xmm1
	pinsrb	$3, %r10d, %xmm1
	pinsrb	$4, -7(%rdi,%rdx,2), %xmm1
	pinsrb	$5, -6(%rdi,%rdx,2), %xmm1
	pinsrb	$6, %r10d, %xmm1
	pinsrb	$7, -5(%rdi,%rdx,2), %xmm1
	pinsrb	$8, -4(%rdi,%rdx,2), %xmm1
	pinsrb	$9, %r10d, %xmm1
	pinsrb	$10, -3(%rdi,%rdx,2), %xmm1
	pinsrb	$11, -2(%rdi,%rdx,2), %xmm1
	pinsrb	$12, %r10d, %xmm1
	pinsrb	$13, -1(%rdi,%rdx,2), %xmm1
	pinsrb	$14, (%rdi,%rdx,2), %xmm1
	pinsrb	$15, %r10d, %xmm1
	movzbl	-31(%rdi,%rdx,2), %esi
	movd	%esi, %xmm2
	pinsrb	$1, -30(%rdi,%rdx,2), %xmm2
	pinsrb	$2, %r10d, %xmm2
	pinsrb	$3, -29(%rdi,%rdx,2), %xmm2
	pinsrb	$4, -28(%rdi,%rdx,2), %xmm2
	pinsrb	$5, %r10d, %xmm2
	pinsrb	$6, -27(%rdi,%rdx,2), %xmm2
	pinsrb	$7, -26(%rdi,%rdx,2), %xmm2
	pinsrb	$8, %r10d, %xmm2
	pinsrb	$9, -25(%rdi,%rdx,2), %xmm2
	pinsrb	$10, -24(%rdi,%rdx,2), %xmm2
	pinsrb	$11, %r10d, %xmm2
	pinsrb	$12, -23(%rdi,%rdx,2), %xmm2
	pinsrb	$13, -22(%rdi,%rdx,2), %xmm2
	pinsrb	$14, %r10d, %xmm2
	pinsrb	$15, -21(%rdi,%rdx,2), %xmm2
	movzbl	-20(%rdi,%rdx,2), %esi
	movd	%esi, %xmm3
	pinsrb	$1, %r10d, %xmm3
	pinsrb	$2, -19(%rdi,%rdx,2), %xmm3
	pinsrb	$3, -18(%rdi,%rdx,2), %xmm3
	pinsrb	$4, %r10d, %xmm3
	pinsrb	$5, -17(%rdi,%rdx,2), %xmm3
	pinsrb	$6, -16(%rdi,%rdx,2), %xmm3
	pinsrb	$7, %r10d, %xmm3
	pinsrb	$8, -15(%rdi,%rdx,2), %xmm3
	pinsrb	$9, -14(%rdi,%rdx,2), %xmm3
	pinsrb	$10, %r10d, %xmm3
	pinsrb	$11, -13(%rdi,%rdx,2), %xmm3
	pinsrb	$12, -12(%rdi,%rdx,2), %xmm3
	pinsrb	$13, %r10d, %xmm3
	pinsrb	$14, -11(%rdi,%rdx,2), %xmm3
	pinsrb	$15, -10(%rdi,%rdx,2), %xmm3
	movdqu	%xmm1, 32(%r11)
	movdqu	%xmm3, 16(%r11)
	movdqu	%xmm2, (%r11)
	addq	$16, %rdx
	addq	$48, %r11
	cmpq	%rdx, %r9
	jne	LBB0_7
## %bb.8:
	cmpq	%r9, %r8
	jne	LBB0_9
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_the_hash_algo,8,3              ## @the_hash_algo
	.comm	_FANOUT_PATH_MAX,8,3            ## @FANOUT_PATH_MAX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

	.no_dead_strip	_construct_path_with_fanout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function construct_path_with_fanout
_construct_path_with_fanout:            ; @construct_path_with_fanout
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	mov	x21, x1
	bl	_hash_to_hex
	mov	x20, x0
Lloh0:
	adrp	x8, _the_hash_algo@GOTPAGE
Lloh1:
	ldr	x8, [x8, _the_hash_algo@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldrb	w8, [x8]
	cmp	w8, w21
	cset	w0, hi
	bl	_assert
	cbz	w21, LBB0_8
; %bb.1:
	sub	w8, w21, #1
	cmp	w8, #31
	b.lo	LBB0_4
; %bb.2:
	and	x9, x8, #0xff
	lsl	x10, x9, #1
	add	x11, x10, x20
	add	x11, x11, #2
	cmp	x11, x19
	b.ls	LBB0_10
; %bb.3:
	add	x9, x10, x9
	add	x9, x9, x19
	add	x9, x9, #3
	cmp	x20, x9
	b.hs	LBB0_10
LBB0_4:
	mov	x9, #0
	mov	x8, #0
LBB0_5:
	add	x10, x19, #2
	mov	w11, #47
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	x12, x20, x8
	ldrb	w13, [x12]
	add	x14, x10, x9
	sturb	w13, [x14, #-2]
	add	x8, x8, #2
	ldrb	w12, [x12, #1]
	sturb	w12, [x14, #-1]
	add	x9, x9, #3
	strb	w11, [x14]
	sub	w21, w21, #1
	tst	w21, #0xff
	b.ne	LBB0_6
LBB0_7:
	and	x9, x9, #0xffffffff
	and	x8, x8, #0xfffffffe
	b	LBB0_9
LBB0_8:
	mov	x9, #0
	mov	x8, #0
LBB0_9:
	add	x0, x19, x9
Lloh3:
	adrp	x10, _FANOUT_PATH_MAX@GOTPAGE
Lloh4:
	ldr	x10, [x10, _FANOUT_PATH_MAX@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	sub	x1, x10, x9
	add	x3, x20, x8
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_xsnprintf
LBB0_10:
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	and	x8, x8, #0xff
	add	x10, x8, #1
	and	x11, x10, #0x1e0
	lsl	x8, x11, #1
	add	x9, x8, x11
	sub	w21, w21, w11
	add	x12, x20, #32
	movi.16b	v2, #47
	mov	x14, x19
	mov	x13, x11
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	sub	x15, x12, #32
	ld2.16b	{ v0, v1 }, [x15]
	ld2.16b	{ v3, v4 }, [x12]
	mov.16b	v5, v2
	add	x15, x14, #96
	st3.16b	{ v0, v1, v2 }, [x14], #48
	st3.16b	{ v3, v4, v5 }, [x14]
	add	x12, x12, #64
	mov	x14, x15
	subs	x13, x13, #32
	b.ne	LBB0_11
; %bb.12:
	cmp	x10, x11
	b.ne	LBB0_5
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_the_hash_algo,8,3              ; @the_hash_algo
	.comm	_FANOUT_PATH_MAX,8,3            ; @FANOUT_PATH_MAX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

	.no_dead_strip	_construct_path_with_fanout
.subsections_via_symbols
