	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_header
_find_header:                           ## @find_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	(%rsi), %rdi
	callq	_h2o_iovec_is_token
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	(%rbx), %rsi
	movq	%r14, %rdi
	movl	$-1, %edx
	callq	_h2o_find_header
	cmpl	$-1, %eax
	je	LBB0_4
LBB0_5:
	cltq
	shlq	$2, %rax
	addq	(%r14), %rax
	jmp	LBB0_6
LBB0_2:
	movq	(%rbx), %rax
	movl	(%rax), %edx
	movl	4(%rax), %esi
	movq	%r14, %rdi
	movl	$-1, %ecx
	callq	_h2o_find_header_by_str
	cmpl	$-1, %eax
	jne	LBB0_5
LBB0_4:
	xorl	%eax, %eax
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_find_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_header
_find_header:                           ; @find_header
	.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
	ldr	x0, [x1]
	bl	_h2o_iovec_is_token
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x1, [x20]
	mov	x0, x19
	mov	w2, #-1
	bl	_h2o_find_header
	cmn	w0, #1
	b.eq	LBB0_4
LBB0_2:
	ldr	x8, [x19]
	add	x0, x8, w0, sxtw #2
	b	LBB0_5
LBB0_3:
	ldr	x8, [x20]
	ldp	w2, w1, [x8]
	mov	x0, x19
	mov	w3, #-1
	bl	_h2o_find_header_by_str
	cmn	w0, #1
	b.ne	LBB0_2
LBB0_4:
	mov	x0, #0
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_find_header
.subsections_via_symbols
