	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function on_read_proxy_line
_on_read_proxy_line:                    ## @on_read_proxy_line
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	(%rdi), %r14
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.9:
	movq	_accept_data_callbacks@GOTPCREL(%rip), %rax
	movq	%r14, %rdi
	callq	*(%rax)
	movq	%rbx, %rdi
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_h2o_socket_close               ## TAILCALL
LBB0_1:
	movq	8(%rbx), %rax
	movl	(%rax), %esi
	movl	4(%rax), %edi
	leaq	-24(%rbp), %rdx
	leaq	-28(%rbp), %rcx
	callq	_parse_proxy_line
	cmpl	$-2, %eax
	je	LBB0_8
## %bb.2:
	cmpl	$-1, %eax
	je	LBB0_5
## %bb.3:
	leaq	8(%rbx), %rdi
	movl	%eax, %esi
	callq	_h2o_buffer_consume
	movl	-28(%rbp), %edx
	testl	%edx, %edx
	je	LBB0_5
## %bb.4:
	leaq	-24(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_h2o_socket_setpeername
LBB0_5:
	movq	8(%r14), %rax
	movq	(%rax), %r14
	testq	%r14, %r14
	je	LBB0_7
## %bb.6:
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_h2o_iovec_init
	movq	_on_ssl_handshake_complete@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	movl	%eax, %ecx
	callq	_h2o_socket_ssl_handshake
	jmp	LBB0_8
LBB0_7:
	movq	(%rbx), %r14
	movq	$0, (%rbx)
	movq	8(%r14), %rdi
	movl	(%r14), %edx
	movq	%rbx, %rsi
	callq	_h2o_http1_accept
	movq	_accept_data_callbacks@GOTPCREL(%rip), %rax
	movq	%r14, %rdi
	callq	*(%rax)
LBB0_8:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_accept_data_callbacks,8,3      ## @accept_data_callbacks
	.comm	_on_ssl_handshake_complete,4,2  ## @on_ssl_handshake_complete
	.no_dead_strip	_on_read_proxy_line
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function on_read_proxy_line
_on_read_proxy_line:                    ; @on_read_proxy_line
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x0
	ldr	x20, [x0]
	cbz	x1, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _accept_data_callbacks@GOTPAGE
Lloh1:
	ldr	x8, [x8, _accept_data_callbacks@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	mov	x0, x20
	blr	x8
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_h2o_socket_close
LBB0_2:
	mov	x21, x19
	ldr	x8, [x21, #8]!
	ldp	w1, w0, [x8]
	add	x2, sp, #8
	add	x3, sp, #4
	bl	_parse_proxy_line
	cmn	w0, #2
	b.eq	LBB0_9
; %bb.3:
	mov	x1, x0
	cmn	w0, #1
	b.eq	LBB0_6
; %bb.4:
	mov	x0, x21
	bl	_h2o_buffer_consume
	ldr	w2, [sp, #4]
	cbz	w2, LBB0_6
; %bb.5:
	add	x1, sp, #8
	mov	x0, x19
	bl	_h2o_socket_setpeername
LBB0_6:
	ldr	x8, [x20, #8]
	ldr	x20, [x8]
	cbz	x20, LBB0_8
; %bb.7:
	mov	x0, #0
	mov	w1, #0
	bl	_h2o_iovec_init
	mov	x3, x0
Lloh3:
	adrp	x8, _on_ssl_handshake_complete@GOTPAGE
Lloh4:
	ldr	x8, [x8, _on_ssl_handshake_complete@GOTPAGEOFF]
Lloh5:
	ldr	w4, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	x2, #0
	bl	_h2o_socket_ssl_handshake
	b	LBB0_9
LBB0_8:
	ldr	x20, [x19]
	str	xzr, [x19]
	ldr	x0, [x20, #8]
	ldr	w2, [x20]
	mov	x1, x19
	bl	_h2o_http1_accept
Lloh6:
	adrp	x8, _accept_data_callbacks@GOTPAGE
Lloh7:
	ldr	x8, [x8, _accept_data_callbacks@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	mov	x0, x20
	blr	x8
LBB0_9:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_accept_data_callbacks,8,3      ; @accept_data_callbacks
	.comm	_on_ssl_handshake_complete,4,2  ; @on_ssl_handshake_complete
	.no_dead_strip	_on_read_proxy_line
.subsections_via_symbols
