	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function start_request
_start_request:                         ## @start_request
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_pool@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdi
	callq	_h2o_mem_clear_pool
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_h2o_mem_alloc_pool
	movq	%rax, %r15
	movq	_req@GOTPCREL(%rip), %rbx
	movl	4(%rbx), %edi
	movq	_SIZE_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdx
	callq	_h2o_url_parse
	testq	%rax, %rax
	je	LBB0_1
## %bb.10:
	movl	4(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_on_error                       ## TAILCALL
LBB0_1:
	movl	(%rbx), %eax
	movq	_cur_req_body_size@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	cmpq	$0, 8(%r14)
	je	LBB0_2
## %bb.11:
	movq	_on_connect@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_pool@GOTPCREL(%rip), %rsi
	xorl	%edi, %edi
	movq	%r15, %rdx
	movq	%r14, %rcx
	movq	%r15, %r8
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_h2o_httpclient_connect_h3      ## TAILCALL
LBB0_2:
	movq	_connpool@GOTPCREL(%rip), %r12
	movq	(%r12), %r8
	testq	%r8, %r8
	jne	LBB0_9
## %bb.3:
	movl	$4, %edi
	callq	_h2o_mem_alloc
	movq	%rax, (%r12)
	movl	$4, %edi
	callq	_h2o_mem_alloc
	movq	%rax, %rbx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_h2o_socketpool_create_target
	movq	%rax, -56(%rbp)
	leaq	-56(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$10, %esi
	movl	$1, %ecx
	xorl	%r8d, %r8d
	callq	_h2o_socketpool_init_specific
	movq	_IO_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_h2o_socketpool_set_timeout
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_h2o_socketpool_register_loop
	movq	(%r12), %rdi
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rsi
	callq	_h2o_httpclient_connection_pool_init
	leaq	L_.str.1(%rip), %rdi
	callq	_getenv
	movq	%rax, %r12
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	movq	_H2O_ROOT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_H2O_TO_STR
	movq	%rax, %r12
LBB0_5:
	movq	%r12, %rdi
	callq	_strlen
	movl	%eax, %r13d
	leaq	L_.str.2(%rip), %rbx
	movq	%rbx, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rax,%r13), %edi
	incl	%edi
	callq	_h2o_mem_alloc
	movq	%rax, %r13
	leaq	L_.str.3(%rip), %rsi
	movq	%rax, %rdi
	movq	%r12, %rdx
	movq	%rbx, %rcx
	callq	_sprintf
	xorl	%eax, %eax
	callq	_TLSv1_client_method
	movl	%eax, %edi
	callq	_SSL_CTX_new
	movq	%rax, %r12
	movq	%rax, %rdi
	movq	%r13, %rsi
	xorl	%edx, %edx
	callq	_SSL_CTX_load_verify_locations
	movq	_ssl_verify_none@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.7:
	movq	_SSL_VERIFY_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	jmp	LBB0_8
LBB0_6:
	movq	_SSL_VERIFY_PEER@GOTPCREL(%rip), %rax
	movq	_SSL_VERIFY_FAIL_IF_NO_PEER_CERT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
LBB0_8:
	movq	_connpool@GOTPCREL(%rip), %r13
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_SSL_CTX_set_verify
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_h2o_socketpool_set_ssl_ctx
	movq	%r12, %rdi
	callq	_SSL_CTX_free
	movq	(%r13), %r8
LBB0_9:
	movq	_on_connect@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	movq	_pool@GOTPCREL(%rip), %rsi
	xorl	%edi, %edi
	movq	%r15, %rdx
	movq	%r14, %rcx
	movq	%r15, %r9
	callq	_h2o_httpclient_connect
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pool,4,2                       ## @pool
	.comm	_req,8,2                        ## @req
	.comm	_SIZE_MAX,4,2                   ## @SIZE_MAX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unrecognized type of URL: %s"

	.comm	_cur_req_body_size,4,2          ## @cur_req_body_size
	.comm	_on_connect,4,2                 ## @on_connect
	.comm	_connpool,8,3                   ## @connpool
	.comm	_IO_TIMEOUT,4,2                 ## @IO_TIMEOUT
L_.str.1:                               ## @.str.1
	.asciz	"H2O_ROOT"

	.comm	_H2O_ROOT,4,2                   ## @H2O_ROOT
L_.str.2:                               ## @.str.2
	.asciz	"/share/h2o/ca-bundle.crt"

L_.str.3:                               ## @.str.3
	.asciz	"%s%s"

	.comm	_ssl_verify_none,8,3            ## @ssl_verify_none
	.comm	_SSL_VERIFY_NONE,4,2            ## @SSL_VERIFY_NONE
	.comm	_SSL_VERIFY_PEER,4,2            ## @SSL_VERIFY_PEER
	.comm	_SSL_VERIFY_FAIL_IF_NO_PEER_CERT,4,2 ## @SSL_VERIFY_FAIL_IF_NO_PEER_CERT
	.comm	_CA_PATH,8,3                    ## @CA_PATH
	.no_dead_strip	_start_request
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function start_request
_start_request:                         ; @start_request
	.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	x19, x0
Lloh0:
	adrp	x20, _pool@GOTPAGE
Lloh1:
	ldr	x20, [x20, _pool@GOTPAGEOFF]
	mov	x0, x20
	bl	_h2o_mem_clear_pool
	mov	x0, x20
	mov	w2, #1
	bl	_h2o_mem_alloc_pool
	mov	x20, x0
Lloh2:
	adrp	x21, _req@GOTPAGE
Lloh3:
	ldr	x21, [x21, _req@GOTPAGEOFF]
	ldr	w0, [x21, #4]
Lloh4:
	adrp	x8, _SIZE_MAX@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SIZE_MAX@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	x2, x20
	bl	_h2o_url_parse
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w2, [x21, #4]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	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	_on_error
LBB0_2:
	ldr	w8, [x21]
Lloh9:
	adrp	x9, _cur_req_body_size@GOTPAGE
Lloh10:
	ldr	x9, [x9, _cur_req_body_size@GOTPAGEOFF]
Lloh11:
	str	w8, [x9]
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_4
; %bb.3:
Lloh12:
	adrp	x8, _on_connect@GOTPAGE
Lloh13:
	ldr	x8, [x8, _on_connect@GOTPAGEOFF]
Lloh14:
	ldr	w5, [x8]
Lloh15:
	adrp	x1, _pool@GOTPAGE
Lloh16:
	ldr	x1, [x1, _pool@GOTPAGEOFF]
	mov	x0, #0
	mov	x2, x20
	mov	x3, x19
	mov	x4, x20
	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	_h2o_httpclient_connect_h3
LBB0_4:
Lloh17:
	adrp	x25, _connpool@GOTPAGE
Lloh18:
	ldr	x25, [x25, _connpool@GOTPAGEOFF]
	ldr	x4, [x25]
	cbnz	x4, LBB0_8
; %bb.5:
	mov	w0, #4
	bl	_h2o_mem_alloc
	str	x0, [x25]
	mov	w0, #4
	bl	_h2o_mem_alloc
	mov	x21, x0
	mov	x0, x20
	mov	x1, #0
	bl	_h2o_socketpool_create_target
	str	x0, [sp, #8]
	add	x2, sp, #8
	mov	x0, x21
	mov	w1, #10
	mov	w3, #1
	mov	x4, #0
	bl	_h2o_socketpool_init_specific
Lloh19:
	adrp	x8, _IO_TIMEOUT@GOTPAGE
Lloh20:
	ldr	x8, [x8, _IO_TIMEOUT@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_h2o_socketpool_set_timeout
	ldr	w1, [x19]
	mov	x0, x21
	bl	_h2o_socketpool_register_loop
	ldr	x0, [x25]
	mov	x1, x21
	bl	_h2o_httpclient_connection_pool_init
Lloh22:
	adrp	x0, l_.str.1@PAGE
Lloh23:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_getenv
	mov	x22, x0
	cbnz	x0, LBB0_7
; %bb.6:
Lloh24:
	adrp	x8, _H2O_ROOT@GOTPAGE
Lloh25:
	ldr	x8, [x8, _H2O_ROOT@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	bl	_H2O_TO_STR
	mov	x22, x0
LBB0_7:
	mov	x0, x22
	bl	_strlen
	mov	x23, x0
Lloh27:
	adrp	x24, l_.str.2@PAGE
Lloh28:
	add	x24, x24, l_.str.2@PAGEOFF
	mov	x0, x24
	bl	_strlen
	add	w8, w23, w0
	add	w0, w8, #1
	bl	_h2o_mem_alloc
	mov	x23, x0
Lloh29:
	adrp	x1, l_.str.3@PAGE
Lloh30:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x2, x22
	mov	x3, x24
	bl	_sprintf
	bl	_TLSv1_client_method
	bl	_SSL_CTX_new
	mov	x22, x0
	mov	x1, x23
	mov	x2, #0
	bl	_SSL_CTX_load_verify_locations
Lloh31:
	adrp	x8, _ssl_verify_none@GOTPAGE
Lloh32:
	ldr	x8, [x8, _ssl_verify_none@GOTPAGEOFF]
Lloh33:
	ldr	x8, [x8]
Lloh34:
	adrp	x9, _SSL_VERIFY_PEER@GOTPAGE
Lloh35:
	ldr	x9, [x9, _SSL_VERIFY_PEER@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
Lloh37:
	adrp	x10, _SSL_VERIFY_FAIL_IF_NO_PEER_CERT@GOTPAGE
Lloh38:
	ldr	x10, [x10, _SSL_VERIFY_FAIL_IF_NO_PEER_CERT@GOTPAGEOFF]
Lloh39:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh40:
	adrp	x10, _SSL_VERIFY_NONE@GOTPAGE
Lloh41:
	ldr	x10, [x10, _SSL_VERIFY_NONE@GOTPAGEOFF]
Lloh42:
	ldr	w10, [x10]
	cmp	x8, #0
	csel	w1, w9, w10, eq
	mov	x0, x22
	mov	x2, #0
	bl	_SSL_CTX_set_verify
	mov	x0, x21
	mov	x1, x22
	bl	_h2o_socketpool_set_ssl_ctx
	mov	x0, x22
	bl	_SSL_CTX_free
	ldr	x4, [x25]
LBB0_8:
Lloh43:
	adrp	x8, _on_connect@GOTPAGE
Lloh44:
	ldr	x8, [x8, _on_connect@GOTPAGEOFF]
Lloh45:
	ldr	w6, [x8]
Lloh46:
	adrp	x1, _pool@GOTPAGE
Lloh47:
	ldr	x1, [x1, _pool@GOTPAGEOFF]
	mov	x0, #0
	mov	x2, x20
	mov	x3, x19
	mov	x5, x20
	bl	_h2o_httpclient_connect
	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
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.cfi_endproc
                                        ; -- End function
	.comm	_pool,4,2                       ; @pool
	.comm	_req,8,2                        ; @req
	.comm	_SIZE_MAX,4,2                   ; @SIZE_MAX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unrecognized type of URL: %s"

	.comm	_cur_req_body_size,4,2          ; @cur_req_body_size
	.comm	_on_connect,4,2                 ; @on_connect
	.comm	_connpool,8,3                   ; @connpool
	.comm	_IO_TIMEOUT,4,2                 ; @IO_TIMEOUT
l_.str.1:                               ; @.str.1
	.asciz	"H2O_ROOT"

	.comm	_H2O_ROOT,4,2                   ; @H2O_ROOT
l_.str.2:                               ; @.str.2
	.asciz	"/share/h2o/ca-bundle.crt"

l_.str.3:                               ; @.str.3
	.asciz	"%s%s"

	.comm	_ssl_verify_none,8,3            ; @ssl_verify_none
	.comm	_SSL_VERIFY_NONE,4,2            ; @SSL_VERIFY_NONE
	.comm	_SSL_VERIFY_PEER,4,2            ; @SSL_VERIFY_PEER
	.comm	_SSL_VERIFY_FAIL_IF_NO_PEER_CERT,4,2 ; @SSL_VERIFY_FAIL_IF_NO_PEER_CERT
	.comm	_CA_PATH,8,3                    ; @CA_PATH
	.no_dead_strip	_start_request
.subsections_via_symbols
