	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_building_uri
_test_building_uri:                     ## @test_building_uri
	.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	%rsi, %r14
	movq	%rdi, %r15
	movl	8(%rsi), %edx
	leaq	L_.str(%rip), %rsi
	xorl	%edi, %edi
	callq	_LOG_INFO
	movq	%r15, %rdi
	callq	_vc_uri_clear
	movl	32(%r14), %esi
	movq	%r15, %rdi
	callq	_vc_uri_set_scheme
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	movl	28(%r14), %esi
	movq	%r15, %rdi
	callq	_vc_uri_set_userinfo
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movl	24(%r14), %esi
	movq	%r15, %rdi
	callq	_vc_uri_set_host
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	movl	20(%r14), %esi
	movq	%r15, %rdi
	callq	_vc_uri_set_port
	testl	%eax, %eax
	je	LBB0_8
## %bb.9:
	movl	16(%r14), %esi
	movq	%r15, %rdi
	callq	_vc_uri_set_path
	testl	%eax, %eax
	je	LBB0_10
## %bb.11:
	movl	12(%r14), %esi
	movq	%r15, %rdi
	callq	_vc_uri_set_fragment
	testl	%eax, %eax
	je	LBB0_12
## %bb.13:
	movq	(%r14), %rbx
	movq	(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_18
## %bb.14:
	addq	$8, %rbx
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdx
	movq	%r15, %rdi
	callq	_vc_uri_add_query
	testl	%eax, %eax
	je	LBB0_16
## %bb.17:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	8(%rbx), %rsi
	addq	$16, %rbx
	testq	%rsi, %rsi
	jne	LBB0_15
LBB0_18:
	movq	%r15, %rdi
	callq	_dump_uri
	movl	8(%r14), %esi
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_check_uri                      ## TAILCALL
LBB0_1:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_2
LBB0_4:
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_2
LBB0_6:
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_2
LBB0_8:
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_2
LBB0_10:
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_2
LBB0_12:
	leaq	L_.str.6(%rip), %rsi
	jmp	LBB0_2
LBB0_16:
	leaq	L_.str.7(%rip), %rsi
LBB0_2:
	xorl	%edi, %edi
	callq	_LOG_ERROR
	movl	$1, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Building URI <%s>"

L_.str.1:                               ## @.str.1
	.asciz	"*** Failed to set scheme"

L_.str.2:                               ## @.str.2
	.asciz	"*** Failed to set userinfo"

L_.str.3:                               ## @.str.3
	.asciz	"*** Failed to set host"

L_.str.4:                               ## @.str.4
	.asciz	"*** Failed to set port"

L_.str.5:                               ## @.str.5
	.asciz	"*** Failed to set path"

L_.str.6:                               ## @.str.6
	.asciz	"*** Failed to set fragment"

L_.str.7:                               ## @.str.7
	.asciz	"*** Failed to add query"

	.no_dead_strip	_test_building_uri
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_building_uri
_test_building_uri:                     ; @test_building_uri
	.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	x20, x1
	mov	x19, x0
	ldr	w2, [x1, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, #0
	bl	_LOG_INFO
	mov	x0, x19
	bl	_vc_uri_clear
	ldr	w1, [x20, #32]
	mov	x0, x19
	bl	_vc_uri_set_scheme
	cbz	w0, LBB0_11
; %bb.1:
	ldr	w1, [x20, #28]
	mov	x0, x19
	bl	_vc_uri_set_userinfo
	cbz	w0, LBB0_12
; %bb.2:
	ldr	w1, [x20, #24]
	mov	x0, x19
	bl	_vc_uri_set_host
	cbz	w0, LBB0_13
; %bb.3:
	ldr	w1, [x20, #20]
	mov	x0, x19
	bl	_vc_uri_set_port
	cbz	w0, LBB0_14
; %bb.4:
	ldr	w1, [x20, #16]
	mov	x0, x19
	bl	_vc_uri_set_path
	cbz	w0, LBB0_15
; %bb.5:
	ldr	w1, [x20, #12]
	mov	x0, x19
	bl	_vc_uri_set_fragment
	cbz	w0, LBB0_16
; %bb.6:
	ldr	x8, [x20]
	ldr	x1, [x8]
	cbz	x1, LBB0_10
; %bb.7:
	add	x21, x8, #8
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x2, [x21]
	mov	x0, x19
	bl	_vc_uri_add_query
	cbz	w0, LBB0_17
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x1, [x21, #8]
	add	x21, x21, #16
	cbnz	x1, LBB0_8
LBB0_10:
	mov	x0, x19
	bl	_dump_uri
	ldr	w1, [x20, #8]
	mov	x0, x19
	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	_check_uri
LBB0_11:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_18
LBB0_12:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_18
LBB0_13:
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_18
LBB0_14:
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_18
LBB0_15:
Lloh10:
	adrp	x1, l_.str.5@PAGE
Lloh11:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_18
LBB0_16:
Lloh12:
	adrp	x1, l_.str.6@PAGE
Lloh13:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_18
LBB0_17:
Lloh14:
	adrp	x1, l_.str.7@PAGE
Lloh15:
	add	x1, x1, l_.str.7@PAGEOFF
LBB0_18:
	mov	x0, #0
	bl	_LOG_ERROR
	mov	w0, #1
	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
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Building URI <%s>"

l_.str.1:                               ; @.str.1
	.asciz	"*** Failed to set scheme"

l_.str.2:                               ; @.str.2
	.asciz	"*** Failed to set userinfo"

l_.str.3:                               ; @.str.3
	.asciz	"*** Failed to set host"

l_.str.4:                               ; @.str.4
	.asciz	"*** Failed to set port"

l_.str.5:                               ; @.str.5
	.asciz	"*** Failed to set path"

l_.str.6:                               ; @.str.6
	.asciz	"*** Failed to set fragment"

l_.str.7:                               ; @.str.7
	.asciz	"*** Failed to add query"

	.no_dead_strip	_test_building_uri
.subsections_via_symbols
