	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function httpread_hdr_option_analyze
_httpread_hdr_option_analyze:           ## @httpread_hdr_option_analyze
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_word_eq
	testq	%rax, %rax
	je	LBB0_10
## %bb.1:
	decq	%rbx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	1(%rbx), %edi
	incq	%rbx
	callq	_isgraph
	testq	%rax, %rax
	jne	LBB0_2
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx), %eax
	cmpb	$32, %al
	je	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$9, %al
	je	LBB0_3
## %bb.6:
	movsbl	%al, %edi
	callq	_isdigit
	movl	$-1, %r15d
	testl	%eax, %eax
	je	LBB0_21
## %bb.7:
	movq	%rbx, %rdi
	callq	_atol
	movq	%rax, (%r14)
	testq	%rax, %rax
	js	LBB0_9
## %bb.8:
	cmpq	8(%r14), %rax
	jle	LBB0_19
LBB0_9:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%rax, %rdx
	callq	_wpa_printf
	jmp	LBB0_21
LBB0_10:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_word_eq
	testq	%rax, %rax
	jne	LBB0_12
## %bb.11:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_word_eq
	testq	%rax, %rax
	je	LBB0_20
LBB0_12:
	decq	%rbx
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movsbl	1(%rbx), %edi
	incq	%rbx
	callq	_isgraph
	testq	%rax, %rax
	jne	LBB0_13
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_15 Depth=1
	incq	%rbx
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx), %eax
	cmpb	$32, %al
	je	LBB0_14
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	cmpb	$9, %al
	je	LBB0_14
## %bb.17:
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_word_eq
	xorl	%r15d, %r15d
	testq	%rax, %rax
	je	LBB0_21
## %bb.18:
	movl	$1, 20(%r14)
	movq	$0, 24(%r14)
	jmp	LBB0_21
LBB0_19:
	movl	$1, 16(%r14)
LBB0_20:
	xorl	%r15d, %r15d
LBB0_21:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CONTENT-LENGTH:"

	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
L_.str.1:                               ## @.str.1
	.asciz	"httpread: Unacceptable Content-Length %d"

L_.str.2:                               ## @.str.2
	.asciz	"TRANSFER_ENCODING:"

L_.str.3:                               ## @.str.3
	.asciz	"TRANSFER-ENCODING:"

L_.str.4:                               ## @.str.4
	.asciz	"CHUNKED"

	.no_dead_strip	_httpread_hdr_option_analyze
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function httpread_hdr_option_analyze
_httpread_hdr_option_analyze:           ; @httpread_hdr_option_analyze
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_word_eq
	cbz	x0, LBB0_9
; %bb.1:
	sub	x20, x20, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrsb	w0, [x20, #1]!
	bl	_isgraph
	cbnz	x0, LBB0_2
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x20, x20, #1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x20]
	cmp	w8, #32
	ccmp	w8, #9, #4, ne
	b.eq	LBB0_3
; %bb.5:
	sxtb	w0, w8
	bl	_isdigit
	cbz	w0, LBB0_17
; %bb.6:
	mov	x0, x20
	bl	_atol
	mov	x2, x0
	str	x0, [x19]
	tbnz	x0, #63, LBB0_8
; %bb.7:
	ldr	x8, [x19, #8]
	cmp	x2, x8
	b.le	LBB0_18
LBB0_8:
Lloh2:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
	mov	w0, #-1
	b	LBB0_19
LBB0_9:
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_word_eq
	cbnz	x0, LBB0_11
; %bb.10:
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_word_eq
	cbz	x0, LBB0_19
LBB0_11:
	sub	x20, x20, #1
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldrsb	w0, [x20, #1]!
	bl	_isgraph
	cbnz	x0, LBB0_12
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	add	x20, x20, #1
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x20]
	cmp	w8, #32
	ccmp	w8, #9, #4, ne
	b.eq	LBB0_13
; %bb.15:
Lloh11:
	adrp	x1, l_.str.4@PAGE
Lloh12:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_word_eq
	cbz	x0, LBB0_19
; %bb.16:
	mov	w0, #0
	mov	w8, #1
	str	w8, [x19, #20]
	str	xzr, [x19, #24]
	b	LBB0_19
LBB0_17:
	mov	w0, #-1
	b	LBB0_19
LBB0_18:
	mov	w0, #0
	mov	w8, #1
	str	w8, [x19, #16]
LBB0_19:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CONTENT-LENGTH:"

	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
l_.str.1:                               ; @.str.1
	.asciz	"httpread: Unacceptable Content-Length %d"

l_.str.2:                               ; @.str.2
	.asciz	"TRANSFER_ENCODING:"

l_.str.3:                               ; @.str.3
	.asciz	"TRANSFER-ENCODING:"

l_.str.4:                               ; @.str.4
	.asciz	"CHUNKED"

	.no_dead_strip	_httpread_hdr_option_analyze
.subsections_via_symbols
