	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_header
_check_header:                          ## @check_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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movaps	%xmm0, -80(%rbp)
	movq	_header@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.1:
	movl	%ecx, %r13d
	movq	%rdx, %r12
	xorl	%r15d, %r15d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r14), %rax
	movq	(%rax,%r15,8), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_cmp_header
	testq	%rax, %rax
	jne	LBB0_10
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r14), %rax
	movq	8(%rax,%r15,8), %rdi
	incq	%r15
	testq	%rdi, %rdi
	je	LBB0_6
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	callq	_strlen
	movl	%eax, %ebx
	testl	%r13d, %r13d
	jne	LBB0_2
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpq	$0, (%r12,%r15,8)
	jne	LBB0_3
	jmp	LBB0_2
LBB0_6:
	leaq	L_.str(%rip), %rsi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_cmp_header
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	leaq	L_.str.1(%rip), %r12
	movq	%r12, %rdi
	callq	_strlen
	movslq	%eax, %r13
	movq	8(%rbx), %rsi
	addq	%r13, %rsi
	movl	(%rbx), %edx
	subl	%r13d, %edx
	leaq	-80(%rbp), %r15
	movq	%r15, %rdi
	callq	_strbuf_add
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_decode_header
	movq	%r15, %rdi
	xorl	%esi, %esi
	movq	%r12, %rdx
	movl	%r13d, %ecx
	callq	_strbuf_insert
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_handle_content_type
	jmp	LBB0_11
LBB0_8:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_cmp_header
	testq	%rax, %rax
	je	LBB0_13
## %bb.9:
	leaq	L_.str.3(%rip), %rdi
	callq	_strlen
	cltq
	movq	8(%rbx), %rsi
	addq	%rax, %rsi
	movl	(%rbx), %edx
	subl	%eax, %edx
	leaq	-80(%rbp), %r14
	movq	%r14, %rdi
	callq	_strbuf_add
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_decode_header
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_handle_content_transfer_encoding
	jmp	LBB0_11
LBB0_10:
	movl	%r15d, %eax
	leaq	(%r12,%rax,8), %r12
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	8(%rdx), %rax
	movslq	%ebx, %rcx
	leaq	(%rcx,%rax), %rsi
	addq	$2, %rsi
	movl	(%rdx), %edx
	subl	%ecx, %edx
	addl	$-2, %edx
	leaq	-80(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_strbuf_add
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_decode_header
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_handle_header
LBB0_11:
	movl	$1, %ebx
LBB0_12:
	leaq	-80(%rbp), %rdi
	callq	_strbuf_release
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_cmp_header
	testq	%rax, %rax
	je	LBB0_16
## %bb.14:
	leaq	L_.str.5(%rip), %rdi
	callq	_strlen
	cltq
	movq	8(%rbx), %rsi
	addq	%rax, %rsi
	movl	(%rbx), %edx
	subl	%eax, %edx
	leaq	-80(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_strbuf_add
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_decode_header
	movl	$1, %ebx
	cmpq	$0, 8(%r14)
	je	LBB0_12
## %bb.15:
	leaq	-80(%rbp), %rdi
	xorl	%esi, %esi
	callq	_strbuf_detach
	movl	%eax, (%r14)
	jmp	LBB0_12
LBB0_16:
	xorl	%ebx, %ebx
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_STRBUF_INIT,16,3               ## @STRBUF_INIT
	.comm	_header,8,3                     ## @header
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Content-Type"

L_.str.1:                               ## @.str.1
	.asciz	"Content-Type: "

L_.str.2:                               ## @.str.2
	.asciz	"Content-Transfer-Encoding"

L_.str.3:                               ## @.str.3
	.asciz	"Content-Transfer-Encoding: "

L_.str.4:                               ## @.str.4
	.asciz	"Message-Id"

L_.str.5:                               ## @.str.5
	.asciz	"Message-Id: "

	.no_dead_strip	_check_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_header
_check_header:                          ; @check_header
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh2:
	ldr	q0, [x8]
	str	q0, [sp]
Lloh3:
	adrp	x24, _header@GOTPAGE
Lloh4:
	ldr	x24, [x24, _header@GOTPAGEOFF]
	ldr	x8, [x24]
	ldr	x0, [x8]
	cbz	x0, LBB0_6
; %bb.1:
	mov	x22, x3
	mov	x21, x2
	mov	x25, #0
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x24]
	ldr	x1, [x8, x25, lsl #3]
	mov	x0, x20
	bl	_cmp_header
	cbnz	x0, LBB0_10
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x24]
	add	x8, x8, x25, lsl #3
	add	x25, x25, #1
	ldr	x0, [x8, #8]
	cbz	x0, LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	bl	_strlen
	mov	x23, x0
	cbnz	w22, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x21, x25, lsl #3]
	cbnz	x8, LBB0_3
	b	LBB0_2
LBB0_6:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_cmp_header
	cbz	x0, LBB0_8
; %bb.7:
Lloh7:
	adrp	x21, l_.str.1@PAGE
Lloh8:
	add	x21, x21, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_strlen
	mov	x22, x0
	ldr	x8, [x20, #8]
	add	x1, x8, w0, sxtw
	ldr	w8, [x20]
	sub	w2, w8, w0
	mov	x0, sp
	bl	_strbuf_add
	mov	x1, sp
	mov	x0, x19
	bl	_decode_header
	mov	x0, sp
	mov	w1, #0
	mov	x2, x21
	mov	x3, x22
	bl	_strbuf_insert
	mov	x1, sp
	mov	x0, x19
	bl	_handle_content_type
	b	LBB0_11
LBB0_8:
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_cmp_header
	cbz	x0, LBB0_13
; %bb.9:
Lloh11:
	adrp	x0, l_.str.3@PAGE
Lloh12:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_strlen
	ldr	x8, [x20, #8]
	add	x1, x8, w0, sxtw
	ldr	w8, [x20]
	sub	w2, w8, w0
	mov	x0, sp
	bl	_strbuf_add
	mov	x1, sp
	mov	x0, x19
	bl	_decode_header
	mov	x1, sp
	mov	x0, x19
	bl	_handle_content_transfer_encoding
	b	LBB0_11
LBB0_10:
	add	x21, x21, w25, uxtw #3
	ldr	x8, [x20, #8]
	add	x8, x8, w23, sxtw
	add	x1, x8, #2
	ldr	w8, [x20]
	sub	w8, w8, w23
	sub	w2, w8, #2
	mov	x0, sp
	bl	_strbuf_add
	mov	x1, sp
	mov	x0, x19
	bl	_decode_header
	mov	x1, sp
	mov	x0, x21
	bl	_handle_header
LBB0_11:
	mov	w19, #1
LBB0_12:
	mov	x0, sp
	bl	_strbuf_release
	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
	ret
LBB0_13:
Lloh13:
	adrp	x1, l_.str.4@PAGE
Lloh14:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_cmp_header
	cbz	x0, LBB0_16
; %bb.14:
Lloh15:
	adrp	x0, l_.str.5@PAGE
Lloh16:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_strlen
	ldr	x8, [x20, #8]
	add	x1, x8, w0, sxtw
	ldr	w8, [x20]
	sub	w2, w8, w0
	mov	x0, sp
	bl	_strbuf_add
	mov	x1, sp
	mov	x0, x19
	bl	_decode_header
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_11
; %bb.15:
	mov	x0, sp
	mov	x1, #0
	bl	_strbuf_detach
	str	w0, [x19]
	b	LBB0_11
LBB0_16:
	mov	w19, #0
	b	LBB0_12
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_STRBUF_INIT,16,3               ; @STRBUF_INIT
	.comm	_header,8,3                     ; @header
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Content-Type"

l_.str.1:                               ; @.str.1
	.asciz	"Content-Type: "

l_.str.2:                               ; @.str.2
	.asciz	"Content-Transfer-Encoding"

l_.str.3:                               ; @.str.3
	.asciz	"Content-Transfer-Encoding: "

l_.str.4:                               ; @.str.4
	.asciz	"Message-Id"

l_.str.5:                               ; @.str.5
	.asciz	"Message-Id: "

	.no_dead_strip	_check_header
.subsections_via_symbols
