	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function build_absolute_url
_build_absolute_url:                    ## @build_absolute_url
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movq	%rdx, %r14
	movq	%rsi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	cmpb	$104, (%rdx)
	jne	LBB0_9
## %bb.1:
	cmpb	$116, 1(%r14)
	jne	LBB0_9
## %bb.2:
	cmpb	$116, 2(%r14)
	jne	LBB0_9
## %bb.3:
	cmpb	$112, 3(%r14)
	jne	LBB0_9
## %bb.4:
	cmpb	$58, 4(%r14)
	jne	LBB0_9
## %bb.5:
	cmpb	$47, 5(%r14)
	jne	LBB0_9
## %bb.6:
	cmpb	$47, 6(%r14)
	jne	LBB0_9
## %bb.7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_27
## %bb.8:
	movq	%r14, %rdi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_strdup                         ## TAILCALL
LBB0_9:
	cmpb	$0, (%rdi)
	cmovneq	%rdi, %r13
	movq	%r13, %rdi
	callq	_strlen
	movl	%eax, %r15d
	cmpl	$8, %eax
	jl	LBB0_12
## %bb.10:
	leaq	7(%r13), %rdi
	movl	$47, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	subl	%r13d, %eax
	movl	%eax, %r15d
LBB0_12:
	movq	%r14, %rdi
	callq	_strlen
	movl	%eax, %ebx
	addl	%r15d, %ebx
	xorl	%eax, %eax
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	cmpb	$47, (%r14)
	sete	%al
	subl	%eax, %ebx
	addl	$2, %ebx
	testl	%r12d, %r12d
	je	LBB0_13
## %bb.14:
	leaq	L_.str(%rip), %rdx
	leaq	-56(%rbp), %rdi
	movl	$8, %esi
	movl	%r12d, %r14d
	movl	%r12d, %ecx
	callq	_snprintf
	addl	%eax, %ebx
	addl	$3, %ebx
	jmp	LBB0_15
LBB0_13:
	movl	%r12d, %r14d
LBB0_15:
	movl	%ebx, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_16
## %bb.17:
	movq	%rax, %r12
	movq	%rax, %rdi
	movq	%r13, %rsi
	movl	%r15d, %edx
	callq	_memcpy
	testl	%r14d, %r14d
	je	LBB0_18
## %bb.19:
	movslq	%r15d, %rax
	movb	$0, (%r12,%rax)
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	movl	$13, %edx
	callq	_memcmp
	testq	%rax, %rax
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	jne	LBB0_22
## %bb.20:
	movq	%r12, %rdi
	movl	$93, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_22
## %bb.21:
	movq	%rax, %r13
	addq	$3, %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	leaq	-56(%rbp), %rdi
	callq	_strlen
	cltq
	addq	%r13, %rax
	addq	$3, %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	1(%rax), %edx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_memmove
	leaq	L_.str.2(%rip), %rsi
	movq	%r13, %rdi
	movl	$3, %edx
	callq	_memcpy
	leaq	-56(%rbp), %r13
	movq	%r13, %rdi
	callq	_strlen
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	movl	%eax, %edx
	callq	_memcpy
	movq	%r13, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	addl	%eax, %r15d
	addl	$3, %r15d
	jmp	LBB0_22
LBB0_16:
	xorl	%r12d, %r12d
	jmp	LBB0_25
LBB0_18:
	movq	-64(%rbp), %r14                 ## 8-byte Reload
LBB0_22:
	cmpb	$47, (%r14)
	je	LBB0_24
## %bb.23:
	movslq	%r15d, %rax
	incl	%r15d
	movb	$47, (%r12,%rax)
LBB0_24:
	movslq	%r15d, %rax
	movq	%r12, %rdi
	addq	%rax, %rdi
	subl	%eax, %ebx
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_memcpy
LBB0_25:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_27
## %bb.26:
	movq	%r12, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_27:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%u"

L_.str.1:                               ## @.str.1
	.asciz	"http://[fe80:"

L_.str.2:                               ## @.str.2
	.asciz	"%25"

	.comm	_IF_NAMESIZE,4,2                ## @IF_NAMESIZE
	.no_dead_strip	_build_absolute_url
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function build_absolute_url
_build_absolute_url:                    ; @build_absolute_url
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x23, x3
	mov	x19, x2
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #8]
	ldrb	w8, [x2]
	cmp	w8, #104
	b.ne	LBB0_9
; %bb.1:
	ldrb	w8, [x19, #1]
	cmp	w8, #116
	b.ne	LBB0_9
; %bb.2:
	ldrb	w8, [x19, #2]
	cmp	w8, #116
	b.ne	LBB0_9
; %bb.3:
	ldrb	w8, [x19, #3]
	cmp	w8, #112
	b.ne	LBB0_9
; %bb.4:
	ldrb	w8, [x19, #4]
	cmp	w8, #58
	b.ne	LBB0_9
; %bb.5:
	ldrb	w8, [x19, #5]
	cmp	w8, #47
	b.ne	LBB0_9
; %bb.6:
	ldrb	w8, [x19, #6]
	cmp	w8, #47
	b.ne	LBB0_9
; %bb.7:
	ldr	x8, [sp, #8]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_23
; %bb.8:
	mov	x0, x19
	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
	add	sp, sp, #96
	b	_strdup
LBB0_9:
	ldrb	w8, [x0]
	cmp	w8, #0
	csel	x24, x1, x0, eq
	mov	x0, x24
	bl	_strlen
	mov	x20, x0
	cmp	w0, #8
	b.lt	LBB0_11
; %bb.10:
	add	x0, x24, #7
	mov	w1, #47
	bl	_strchr
	sub	w8, w0, w24
	cmp	x0, #0
	csel	w20, w20, w8, eq
LBB0_11:
	mov	x0, x19
	bl	_strlen
	ldrb	w8, [x19]
	cmp	w8, #47
	mov	w8, #1
	cinc	w8, w8, ne
	add	w9, w0, w20
	add	w21, w9, w8
	cbz	w23, LBB0_13
; %bb.12:
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, sp
	mov	w1, #8
	mov	x3, x23
	bl	_snprintf
	add	w8, w21, w0
	add	w21, w8, #3
LBB0_13:
	mov	x0, x21
	bl	_malloc
	mov	x22, x0
	cbz	x0, LBB0_21
; %bb.14:
	mov	x0, x22
	mov	x1, x24
	mov	x2, x20
	bl	_memcpy
	cbz	w23, LBB0_18
; %bb.15:
	strb	wzr, [x22, w20, sxtw]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x22
	mov	w2, #13
	bl	_memcmp
	cbnz	x0, LBB0_18
; %bb.16:
	mov	x0, x22
	mov	w1, #93
	bl	_strchr
	cbz	x0, LBB0_18
; %bb.17:
	mov	x23, x0
	add	x24, x0, #3
	mov	x0, sp
	bl	_strlen
	add	x25, x24, w0, sxtw
	mov	x0, x23
	bl	_strlen
	add	w2, w0, #1
	mov	x0, x25
	mov	x1, x23
	bl	_memmove
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x23
	mov	w2, #3
	bl	_memcpy
	mov	x0, sp
	bl	_strlen
	mov	x2, x0
	mov	x1, sp
	mov	x0, x24
	bl	_memcpy
	mov	x0, sp
	bl	_strlen
	add	w8, w20, w0
	add	w20, w8, #3
LBB0_18:
	ldrb	w8, [x19]
	cmp	w8, #47
	b.eq	LBB0_20
; %bb.19:
	mov	w8, #47
	strb	w8, [x22, w20, sxtw]
	add	w20, w20, #1
LBB0_20:
	add	x0, x22, w20, sxtw
	sub	w2, w21, w20
	mov	x1, x19
	bl	_memcpy
LBB0_21:
	ldr	x8, [sp, #8]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_23
; %bb.22:
	mov	x0, x22
	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
	add	sp, sp, #96
	ret
LBB0_23:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%u"

l_.str.1:                               ; @.str.1
	.asciz	"http://[fe80:"

l_.str.2:                               ; @.str.2
	.asciz	"%25"

	.comm	_IF_NAMESIZE,4,2                ; @IF_NAMESIZE
	.no_dead_strip	_build_absolute_url
.subsections_via_symbols
