	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function process_one_header
_process_one_header:                    ## @process_one_header
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_verb@GOTPCREL(%rip), %r13
	cmpl	$2, (%r13)
	jl	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	callq	_printf
LBB0_2:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movl	$9, %edx
	callq	_strncasecmp
	testq	%rax, %rax
	je	LBB0_3
## %bb.6:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	movl	$16, %edx
	callq	_strncasecmp
	testq	%rax, %rax
	je	LBB0_7
## %bb.9:
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	movl	$26, %edx
	callq	_strncasecmp
	movl	$1, %r12d
	testq	%rax, %rax
	jne	LBB0_11
## %bb.10:
	movq	$0, (%r14)
	movl	$1, (%r15)
	jmp	LBB0_11
LBB0_3:
	movl	$1, %r12d
	cmpb	$50, 9(%rbx)
	je	LBB0_11
## %bb.4:
	xorl	%r12d, %r12d
	cmpl	$0, (%r13)
	je	LBB0_11
## %bb.5:
	addq	$9, %rbx
	leaq	L_.str.2(%rip), %rdi
	movq	%rbx, %rsi
	callq	_printf
	jmp	LBB0_11
LBB0_7:
	movl	$1, %r12d
	cmpl	$0, (%r15)
	jne	LBB0_11
## %bb.8:
	addq	$16, %rbx
	movq	%rbx, %rdi
	callq	_atoi
	movq	%rax, (%r14)
LBB0_11:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_verb,4,2                       ## @verb
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"header: '%s'\n"

L_.str.1:                               ## @.str.1
	.asciz	"HTTP/1.1 "

L_.str.2:                               ## @.str.2
	.asciz	"bad status %s\n"

L_.str.3:                               ## @.str.3
	.asciz	"Content-Length: "

L_.str.4:                               ## @.str.4
	.asciz	"Transfer-Encoding: chunked"

	.no_dead_strip	_process_one_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function process_one_header
_process_one_header:                    ; @process_one_header
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x21, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x22, _verb@GOTPAGE
Lloh1:
	ldr	x22, [x22, _verb@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #2
	b.lt	LBB0_2
; %bb.1:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_printf
LBB0_2:
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	w2, #9
	bl	_strncasecmp
	cbz	x0, LBB0_6
; %bb.3:
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	mov	w2, #16
	bl	_strncasecmp
	cbz	x0, LBB0_10
; %bb.4:
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	mov	w2, #26
	bl	_strncasecmp
	mov	x8, x0
	mov	w0, #1
	cbnz	x8, LBB0_13
; %bb.5:
	str	xzr, [x19]
	str	w0, [x21]
	b	LBB0_13
LBB0_6:
	ldrb	w8, [x20, #9]!
	cmp	w8, #50
	b.eq	LBB0_11
; %bb.7:
	ldr	w8, [x22]
	cbz	w8, LBB0_9
; %bb.8:
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x20
	bl	_printf
LBB0_9:
	mov	w0, #0
	b	LBB0_13
LBB0_10:
	ldr	w8, [x21]
	cbz	w8, LBB0_12
LBB0_11:
	mov	w0, #1
	b	LBB0_13
LBB0_12:
	add	x0, x20, #16
	bl	_atoi
	str	x0, [x19]
	mov	w0, #1
LBB0_13:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_verb,4,2                       ; @verb
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"header: '%s'\n"

l_.str.1:                               ; @.str.1
	.asciz	"HTTP/1.1 "

l_.str.2:                               ; @.str.2
	.asciz	"bad status %s\n"

l_.str.3:                               ; @.str.3
	.asciz	"Content-Length: "

l_.str.4:                               ; @.str.4
	.asciz	"Transfer-Encoding: chunked"

	.no_dead_strip	_process_one_header
.subsections_via_symbols
