	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_parse_proxy_line
_test_parse_proxy_line:                 ## @test_parse_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$280, %rsp                      ## imm = 0x118
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	L_.str(%rip), %rsi
	leaq	-304(%rbp), %r13
	movq	%r13, %rdi
	callq	_strcpy
	movq	%r13, %rdi
	callq	_strlen
	leaq	-320(%rbp), %r14
	leaq	-308(%rbp), %r15
	movq	%r13, %rdi
	movl	%eax, %esi
	movq	%r14, %rdx
	movq	%r15, %rcx
	callq	_parse_proxy_line
	xorl	%edi, %edi
	cmpl	$-2, %eax
	sete	%dil
	callq	_ok
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdi
	callq	_strcpy
	movq	%r13, %rdi
	callq	_strlen
	movq	%r13, %rdi
	movl	%eax, %esi
	movq	%r14, %rdx
	movq	%r15, %rcx
	callq	_parse_proxy_line
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_strlen
	addl	$-3, %eax
	xorl	%edi, %edi
	cmpl	%eax, %ebx
	sete	%dil
	callq	_ok
	xorl	%edi, %edi
	cmpl	$16, -308(%rbp)
	sete	%dil
	callq	_ok
	movq	-320(%rbp), %rax
	movq	_AF_INET@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_ok
	leaq	-312(%rbp), %r12
	movq	-312(%rbp), %rbx
	movl	$-1062731775, %edi              ## imm = 0xC0A80001
	callq	_htonl
	xorl	%edi, %edi
	cmpq	%rax, %rbx
	sete	%dil
	callq	_ok
	movq	-320(%rbp), %rbx
	movl	$56324, %edi                    ## imm = 0xDC04
	callq	_htons
	xorl	%edi, %edi
	cmpq	%rax, %rbx
	sete	%dil
	callq	_ok
	leaq	L_.str.2(%rip), %rsi
	movq	%r13, %rdi
	callq	_strcpy
	movq	%r13, %rdi
	callq	_strlen
	movq	%r13, %rdi
	movl	%eax, %esi
	movq	%r14, %rdx
	movq	%r15, %rcx
	callq	_parse_proxy_line
	xorl	%edi, %edi
	cmpl	$-2, %eax
	sete	%dil
	callq	_ok
	leaq	L_.str.3(%rip), %rsi
	movq	%r13, %rdi
	callq	_strcpy
	movq	%r13, %rdi
	callq	_strlen
	movq	%r13, %rdi
	movl	%eax, %esi
	movq	%r14, %rdx
	movq	%r15, %rcx
	callq	_parse_proxy_line
	xorl	%edi, %edi
	cmpl	$-1, %eax
	sete	%dil
	callq	_ok
	leaq	L_.str.4(%rip), %rsi
	movq	%r13, %rdi
	callq	_strcpy
	movq	%r13, %rdi
	callq	_strlen
	movq	%r13, %rdi
	movl	%eax, %esi
	movq	%r14, %rdx
	movq	%r15, %rcx
	callq	_parse_proxy_line
	xorl	%edi, %edi
	cmpl	$-2, %eax
	sete	%dil
	callq	_ok
	leaq	L_.str.5(%rip), %rsi
	movq	%r13, %rdi
	callq	_strcpy
	movq	%r13, %rdi
	callq	_strlen
	movq	%r13, %rdi
	movl	%eax, %esi
	movq	%r14, %rdx
	movq	%r15, %rcx
	callq	_parse_proxy_line
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_strlen
	addl	$-3, %eax
	xorl	%edi, %edi
	cmpl	%eax, %ebx
	sete	%dil
	callq	_ok
	xorl	%edi, %edi
	cmpl	$0, -308(%rbp)
	sete	%dil
	callq	_ok
	leaq	L_.str.6(%rip), %rsi
	movq	%r13, %rdi
	callq	_strcpy
	movq	%r13, %rdi
	callq	_strlen
	movq	%r13, %rdi
	movl	%eax, %esi
	movq	%r14, %rdx
	movq	%r15, %rcx
	callq	_parse_proxy_line
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_strlen
	xorl	%edi, %edi
	cmpl	%eax, %ebx
	sete	%dil
	callq	_ok
	xorl	%edi, %edi
	cmpl	$16, -308(%rbp)
	sete	%dil
	callq	_ok
	movq	-320(%rbp), %rax
	movq	_AF_INET6@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_ok
	leaq	l_.str.7(%rip), %rdi
	callq	_H2O_STRLIT
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_memcmp
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_ok
	movq	-320(%rbp), %rbx
	movl	$56324, %edi                    ## imm = 0xDC04
	callq	_htons
	xorl	%edi, %edi
	cmpq	%rax, %rbx
	sete	%dil
	callq	_ok
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	addq	$280, %rsp                      ## imm = 0x118
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

L_.str.1:                               ## @.str.1
	.asciz	"PROXY TCP4 192.168.0.1 192.168.0.11 56324 443\r\nabc"

	.comm	_AF_INET,8,3                    ## @AF_INET
L_.str.2:                               ## @.str.2
	.asciz	"PROXY TCP4 192.168.0.1 192.168.0.11 56324 443\r"

L_.str.3:                               ## @.str.3
	.asciz	"PROXY TCP5"

L_.str.4:                               ## @.str.4
	.asciz	"PROXY UNKNOWN"

L_.str.5:                               ## @.str.5
	.asciz	"PROXY UNKNOWN\r\nabc"

L_.str.6:                               ## @.str.6
	.asciz	"PROXY TCP6 ::1 ::1 56324 443\r\n"

	.comm	_AF_INET6,8,3                   ## @AF_INET6
	.section	__TEXT,__const
l_.str.7:                               ## @.str.7
	.asciz	"\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\001"

	.no_dead_strip	_test_parse_proxy_line
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_parse_proxy_line
_test_parse_proxy_line:                 ; @test_parse_proxy_line
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #336
	.cfi_def_cfa_offset 336
	stp	x28, x27, [sp, #288]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #304]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #320]            ; 16-byte Folded Spill
	add	x29, sp, #320
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w27, -40
	.cfi_offset w28, -48
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #24
	bl	_strcpy
	add	x0, sp, #24
	bl	_strlen
	mov	x1, x0
	add	x20, sp, #16
	add	x0, sp, #24
	add	x2, sp, #16
	add	x3, sp, #12
	bl	_parse_proxy_line
	cmn	w0, #2
	cset	w0, eq
	bl	_ok
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #24
	bl	_strcpy
	add	x0, sp, #24
	bl	_strlen
	mov	x1, x0
	add	x0, sp, #24
	add	x2, sp, #16
	add	x3, sp, #12
	bl	_parse_proxy_line
	mov	x19, x0
	add	x0, sp, #24
	bl	_strlen
	sub	w8, w0, #3
	cmp	w19, w8
	cset	w0, eq
	bl	_ok
	ldr	w8, [sp, #12]
	cmp	w8, #16
	cset	w0, eq
	bl	_ok
	ldr	x8, [sp, #16]
Lloh7:
	adrp	x9, _AF_INET@GOTPAGE
Lloh8:
	ldr	x9, [x9, _AF_INET@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_ok
	add	x19, x20, #8
	ldr	x20, [sp, #24]
	mov	w0, #1
	movk	w0, #49320, lsl #16
	bl	_htonl
	cmp	x20, x0
	cset	w0, eq
	bl	_ok
	ldr	x20, [sp, #16]
	mov	w0, #56324
	bl	_htons
	cmp	x20, x0
	cset	w0, eq
	bl	_ok
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x0, sp, #24
	bl	_strcpy
	add	x0, sp, #24
	bl	_strlen
	mov	x1, x0
	add	x0, sp, #24
	add	x2, sp, #16
	add	x3, sp, #12
	bl	_parse_proxy_line
	cmn	w0, #2
	cset	w0, eq
	bl	_ok
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x0, sp, #24
	bl	_strcpy
	add	x0, sp, #24
	bl	_strlen
	mov	x1, x0
	add	x0, sp, #24
	add	x2, sp, #16
	add	x3, sp, #12
	bl	_parse_proxy_line
	cmn	w0, #1
	cset	w0, eq
	bl	_ok
Lloh14:
	adrp	x1, l_.str.4@PAGE
Lloh15:
	add	x1, x1, l_.str.4@PAGEOFF
	add	x0, sp, #24
	bl	_strcpy
	add	x0, sp, #24
	bl	_strlen
	mov	x1, x0
	add	x0, sp, #24
	add	x2, sp, #16
	add	x3, sp, #12
	bl	_parse_proxy_line
	cmn	w0, #2
	cset	w0, eq
	bl	_ok
Lloh16:
	adrp	x1, l_.str.5@PAGE
Lloh17:
	add	x1, x1, l_.str.5@PAGEOFF
	add	x0, sp, #24
	bl	_strcpy
	add	x0, sp, #24
	bl	_strlen
	mov	x1, x0
	add	x0, sp, #24
	add	x2, sp, #16
	add	x3, sp, #12
	bl	_parse_proxy_line
	mov	x20, x0
	add	x0, sp, #24
	bl	_strlen
	sub	w8, w0, #3
	cmp	w20, w8
	cset	w0, eq
	bl	_ok
	ldr	w8, [sp, #12]
	cmp	w8, #0
	cset	w0, eq
	bl	_ok
Lloh18:
	adrp	x1, l_.str.6@PAGE
Lloh19:
	add	x1, x1, l_.str.6@PAGEOFF
	add	x0, sp, #24
	bl	_strcpy
	add	x0, sp, #24
	bl	_strlen
	mov	x1, x0
	add	x0, sp, #24
	add	x2, sp, #16
	add	x3, sp, #12
	bl	_parse_proxy_line
	mov	x20, x0
	add	x0, sp, #24
	bl	_strlen
	cmp	w20, w0
	cset	w0, eq
	bl	_ok
	ldr	w8, [sp, #12]
	cmp	w8, #16
	cset	w0, eq
	bl	_ok
	ldr	x8, [sp, #16]
Lloh20:
	adrp	x9, _AF_INET6@GOTPAGE
Lloh21:
	ldr	x9, [x9, _AF_INET6@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_ok
Lloh23:
	adrp	x0, l_.str.7@PAGE
Lloh24:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_H2O_STRLIT
	mov	x1, x0
	mov	x0, x19
	bl	_memcmp
	cmp	x0, #0
	cset	w0, eq
	bl	_ok
	ldr	x19, [sp, #16]
	mov	w0, #56324
	bl	_htons
	cmp	x19, x0
	cset	w0, eq
	bl	_ok
	ldur	x8, [x29, #-40]
Lloh25:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh26:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #320]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #304]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #288]            ; 16-byte Folded Reload
	add	sp, sp, #336
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

l_.str.1:                               ; @.str.1
	.asciz	"PROXY TCP4 192.168.0.1 192.168.0.11 56324 443\r\nabc"

	.comm	_AF_INET,8,3                    ; @AF_INET
l_.str.2:                               ; @.str.2
	.asciz	"PROXY TCP4 192.168.0.1 192.168.0.11 56324 443\r"

l_.str.3:                               ; @.str.3
	.asciz	"PROXY TCP5"

l_.str.4:                               ; @.str.4
	.asciz	"PROXY UNKNOWN"

l_.str.5:                               ; @.str.5
	.asciz	"PROXY UNKNOWN\r\nabc"

l_.str.6:                               ; @.str.6
	.asciz	"PROXY TCP6 ::1 ::1 56324 443\r\n"

	.comm	_AF_INET6,8,3                   ; @AF_INET6
	.section	__TEXT,__const
l_.str.7:                               ; @.str.7
	.asciz	"\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\001"

	.no_dead_strip	_test_parse_proxy_line
.subsections_via_symbols
