	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_serf_connection_create2        ## -- Begin function serf_connection_create2
	.p2align	4, 0x90
_serf_connection_create2:               ## @serf_connection_create2
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r10
	movl	%r8d, %r12d
	movq	%rcx, %r14
	movq	%rdx, %rax
	movq	%rsi, %r15
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdx, -80(%rbp)
	movq	%rcx, -72(%rbp)
	movq	_APR_SUCCESS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r13
	movq	$0, -48(%rbp)
	testq	%rdx, %rdx
	jne	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	shrq	$32, %rdi
                                        ## kill: def $edi killed $edi killed $rdi
	movq	%r10, %rbx
	callq	_apr_uri_port_of_scheme
	movq	%rbx, %r10
	movq	%rax, -80(%rbp)
LBB0_2:
	movq	32(%rbp), %rbx
	cmpl	$0, (%r15)
	je	LBB0_4
## %bb.3:
	xorl	%esi, %esi
LBB0_6:
	movq	24(%rbp), %r9
	movl	16(%rbp), %r8d
	movq	%rbx, (%rsp)
	movq	%r15, %rdi
	movl	%r12d, %edx
	movq	%r10, %rcx
	callq	_serf_connection_create
	movq	%rax, %rbx
	movl	20(%rax), %edi
	movq	_APR_URI_UNP_OMITPATHINFO@GOTPCREL(%rip), %rax
	movq	_APR_URI_UNP_OMITUSERINFO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	leaq	-80(%rbp), %rsi
	callq	_apr_uri_unparse
	movl	%eax, 16(%rbx)
	movl	20(%rbx), %edi
	movl	%eax, %esi
	movq	%rbx, %rdx
	callq	_apr_uri_parse
	cmpq	$0, 8(%rbx)
	jne	LBB0_8
## %bb.7:
	movl	(%rbx), %edi
	callq	_apr_uri_port_of_scheme
	movq	%rax, 8(%rbx)
LBB0_8:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%rbx, (%rax)
	jmp	LBB0_9
LBB0_4:
	movq	%r10, -56(%rbp)                 ## 8-byte Spill
	movq	_APR_UNSPEC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	leaq	-48(%rbp), %rdi
	movl	%r14d, %esi
	movq	%rax, %rcx
	xorl	%r8d, %r8d
	movq	%rbx, %r9
	callq	_apr_sockaddr_info_get
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_5
LBB0_9:
	movq	%r13, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	-48(%rbp), %rsi
	xorl	%r13d, %r13d
	movq	-56(%rbp), %r10                 ## 8-byte Reload
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_APR_SUCCESS,8,3                ## @APR_SUCCESS
	.comm	_APR_UNSPEC,4,2                 ## @APR_UNSPEC
	.comm	_APR_URI_UNP_OMITPATHINFO,4,2   ## @APR_URI_UNP_OMITPATHINFO
	.comm	_APR_URI_UNP_OMITUSERINFO,4,2   ## @APR_URI_UNP_OMITUSERINFO
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_serf_connection_create2        ; -- Begin function serf_connection_create2
	.p2align	2
_serf_connection_create2:               ; @serf_connection_create2
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x21, x7
	mov	x22, x6
	mov	x23, x5
	mov	x24, x4
	mov	x27, x3
	mov	x3, x2
	mov	x26, x1
	mov	x19, x0
	ldr	x25, [x29, #16]
	stp	x2, x27, [sp, #16]
Lloh0:
	adrp	x8, _APR_SUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _APR_SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
	str	xzr, [sp, #8]
	cbz	x2, LBB0_6
; %bb.1:
	ldr	w8, [x26]
	cbz	w8, LBB0_7
LBB0_2:
	mov	x1, #0
LBB0_3:
	mov	x0, x26
	mov	x2, x24
	mov	x3, x23
	mov	x4, x22
	mov	x5, x21
	mov	x6, x25
	bl	_serf_connection_create
	mov	x21, x0
Lloh3:
	adrp	x8, _APR_URI_UNP_OMITPATHINFO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _APR_URI_UNP_OMITPATHINFO@GOTPAGEOFF]
	ldr	w0, [x0, #20]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _APR_URI_UNP_OMITUSERINFO@GOTPAGE
Lloh7:
	ldr	x9, [x9, _APR_URI_UNP_OMITUSERINFO@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w2, w9, w8
	add	x1, sp, #16
	bl	_apr_uri_unparse
	mov	x1, x0
	str	w0, [x21, #16]
	ldr	w0, [x21, #20]
	mov	x2, x21
	bl	_apr_uri_parse
	ldr	x8, [x21, #8]
	cbnz	x8, LBB0_5
; %bb.4:
	ldr	w0, [x21]
	bl	_apr_uri_port_of_scheme
	str	x0, [x21, #8]
LBB0_5:
	str	x21, [x19]
	b	LBB0_8
LBB0_6:
	lsr	x0, x27, #32
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_apr_uri_port_of_scheme
	mov	x3, x0
	str	x0, [sp, #16]
	ldr	w8, [x26]
	cbnz	w8, LBB0_2
LBB0_7:
Lloh9:
	adrp	x8, _APR_UNSPEC@GOTPAGE
Lloh10:
	ldr	x8, [x8, _APR_UNSPEC@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	add	x0, sp, #8
	mov	x1, x27
	mov	w4, #0
	mov	x5, x25
	bl	_apr_sockaddr_info_get
	mov	x20, x0
	cbz	x0, LBB0_9
LBB0_8:
	mov	x0, x20
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_9:
	ldr	x1, [sp, #8]
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_APR_SUCCESS,8,3                ; @APR_SUCCESS
	.comm	_APR_UNSPEC,4,2                 ; @APR_UNSPEC
	.comm	_APR_URI_UNP_OMITPATHINFO,4,2   ; @APR_URI_UNP_OMITPATHINFO
	.comm	_APR_URI_UNP_OMITUSERINFO,4,2   ; @APR_URI_UNP_OMITUSERINFO
.subsections_via_symbols
