	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_serf_request_bucket_request_create ## -- Begin function serf_request_bucket_request_create
	.p2align	4, 0x90
_serf_request_bucket_request_create:    ## @serf_request_bucket_request_create
	.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
	movq	%r8, %r14
	movq	%rcx, %r13
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	movq	8(%rdi), %rbx
	movq	24(%rbx), %r15
	cmpq	$0, 8(%r15)
	je	LBB0_1
## %bb.2:
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	sete	%al
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_3
LBB0_1:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_3:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	%r13, %rdx
	movq	%r14, %rcx
	callq	_serf_bucket_request_create
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_serf_bucket_request_get_headers
	movq	%rax, %r14
	cmpq	$0, 8(%r15)
	je	LBB0_8
## %bb.4:
	movq	16(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_8
## %bb.5:
	cmpb	$0, -44(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_7
## %bb.6:
	cmpq	$0, (%r12)
	je	LBB0_8
LBB0_7:
	movq	%r13, %rdi
	callq	_serf_bucket_request_set_root
LBB0_8:
	movq	8(%rbx), %rdx
	testq	%rdx, %rdx
	je	LBB0_10
## %bb.9:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_serf_bucket_headers_setn
LBB0_10:
	cmpq	$0, (%r12)
	jne	LBB0_13
## %bb.11:
	movq	%rbx, %rdi
	callq	_serf__get_authn_info_for_server
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	_HOST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	%r14, (%rsp)
	xorl	%esi, %esi
	movq	%rbx, %rdx
	movq	%r12, %rcx
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movq	-64(%rbp), %r9                  ## 8-byte Reload
	callq	*(%rax)
LBB0_13:
	cmpq	$0, (%r15)
	je	LBB0_17
## %bb.14:
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_16
## %bb.15:
	cmpq	$0, (%r12)
	je	LBB0_17
LBB0_16:
	movq	(%r15), %rax
	movq	_PROXY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	%r14, (%rsp)
	xorl	%esi, %esi
	movq	%rbx, %rdx
	movq	%r12, %rcx
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movq	-64(%rbp), %r9                  ## 8-byte Reload
	callq	*(%rax)
LBB0_17:
	movq	%r13, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"https"

L_.str.1:                               ## @.str.1
	.asciz	"Host"

	.comm	_HOST,4,2                       ## @HOST
	.comm	_PROXY,4,2                      ## @PROXY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_serf_request_bucket_request_create ; -- Begin function serf_request_bucket_request_create
	.p2align	2
_serf_request_bucket_request_create:    ; @serf_request_bucket_request_create
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x4
	mov	x24, x3
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x22, [x0, #8]
	ldr	x25, [x22, #24]
	ldr	x8, [x25, #8]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w0, [x22]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cmp	x0, #0
	cset	w26, eq
	b	LBB0_3
LBB0_2:
	mov	w26, #0
LBB0_3:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x24
	mov	x3, x23
	bl	_serf_bucket_request_create
	mov	x23, x0
	bl	_serf_bucket_request_get_headers
	mov	x24, x0
	ldr	x8, [x25, #8]
	cbz	x8, LBB0_8
; %bb.4:
	ldr	x1, [x22, #16]
	cbz	x1, LBB0_8
; %bb.5:
	cbz	w26, LBB0_7
; %bb.6:
	ldr	x8, [x21]
	cbz	x8, LBB0_8
LBB0_7:
	mov	x0, x23
	bl	_serf_bucket_request_set_root
LBB0_8:
	ldr	x2, [x22, #8]
	cbz	x2, LBB0_10
; %bb.9:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x24
	bl	_serf_bucket_headers_setn
LBB0_10:
	ldr	x8, [x21]
	cbnz	x8, LBB0_13
; %bb.11:
	mov	x0, x22
	bl	_serf__get_authn_info_for_server
	ldr	x8, [x0]
	cbz	x8, LBB0_13
; %bb.12:
	ldr	x8, [x8]
Lloh4:
	adrp	x9, _HOST@GOTPAGE
Lloh5:
	ldr	x9, [x9, _HOST@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x9]
	mov	w1, #0
	mov	x2, x22
	mov	x3, x21
	mov	x4, x20
	mov	x5, x19
	mov	x6, x24
	blr	x8
LBB0_13:
	ldr	x8, [x25]
	cbz	x8, LBB0_17
; %bb.14:
	ldr	w0, [x22]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbnz	x0, LBB0_16
; %bb.15:
	ldr	x8, [x21]
	cbz	x8, LBB0_17
LBB0_16:
	ldr	x8, [x25]
	ldr	x8, [x8]
Lloh9:
	adrp	x9, _PROXY@GOTPAGE
Lloh10:
	ldr	x9, [x9, _PROXY@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x9]
	mov	w1, #0
	mov	x2, x22
	mov	x3, x21
	mov	x4, x20
	mov	x5, x19
	mov	x6, x24
	blr	x8
LBB0_17:
	mov	x0, x23
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"https"

l_.str.1:                               ; @.str.1
	.asciz	"Host"

	.comm	_HOST,4,2                       ; @HOST
	.comm	_PROXY,4,2                      ; @PROXY
.subsections_via_symbols
