	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_params
_check_params:                          ## @check_params
	.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
	movl	$4120, %eax                     ## imm = 0x1018
	callq	____chkstk_darwin
	subq	%rax, %rsp
	popq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rsi), %rdx
	movq	%rdx, %rax
	shlq	$4, %rax
	movq	(%rdi,%rax), %rax
	movq	_FCGI_RECORD_HEADER_SIZE@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	jne	LBB0_8
## %bb.1:
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	%rcx, -4152(%rbp)               ## 8-byte Spill
	movq	%r8, -4160(%rbp)                ## 8-byte Spill
	xorl	%r14d, %r14d
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rdx, %rax
	shlq	$4, %rax
	movq	8(%rbx,%rax), %rax
	movq	(%rax), %rcx
	movq	_FCGI_VERSION_1@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rcx
	jne	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rax), %rcx
	movq	_FCGI_PARAMS@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rcx
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 16(%rax)
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 24(%rax)
	jne	LBB0_6
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movzwl	36(%rax), %ecx
	rolw	$8, %cx
	movzwl	%cx, %ecx
	cmpq	%r12, %rcx
	jne	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	incq	%rdx
	movq	%rdx, (%r13)
	movzwl	32(%rax), %eax
	rolw	$8, %ax
	testw	%ax, %ax
	je	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movzwl	%ax, %esi
	movq	%rdx, %rcx
	shlq	$4, %rcx
	movq	(%rbx,%rcx), %rax
	cmpq	%rsi, %rax
	jne	LBB0_14
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%r14,%rbp), %rdi
	addq	$-4144, %rdi                    ## imm = 0xEFD0
	movq	8(%rbx,%rcx), %rsi
	movq	%rax, %rdx
	callq	_memcpy
	movq	(%r13), %rdx
	movq	%rdx, %rax
	shlq	$4, %rax
	addq	(%rbx,%rax), %r14
	incq	%rdx
	movq	%rdx, (%r13)
	movq	%rdx, %rax
	shlq	$4, %rax
	movq	(%rbx,%rax), %rax
	cmpq	(%r15), %rax
	je	LBB0_2
LBB0_8:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_9
LBB0_6:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
LBB0_9:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_fprintf
LBB0_17:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_19
## %bb.18:
	movl	%ebx, %eax
	addq	$4120, %rsp                     ## imm = 0x1018
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_9
LBB0_15:
	leaq	-4144(%rbp), %rdi
	movq	%r14, %rsi
	movq	-4152(%rbp), %rdx               ## 8-byte Reload
	movq	-4160(%rbp), %rcx               ## 8-byte Reload
	callq	_h2o_memis
	movl	$1, %ebx
	testl	%eax, %eax
	jne	LBB0_17
## %bb.16:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_17
LBB0_14:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_9
LBB0_19:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_FCGI_RECORD_HEADER_SIZE,8,3    ## @FCGI_RECORD_HEADER_SIZE
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"record too short (index: %zu)\n"

	.comm	_FCGI_VERSION_1,8,3             ## @FCGI_VERSION_1
	.comm	_FCGI_PARAMS,8,3                ## @FCGI_PARAMS
L_.str.1:                               ## @.str.1
	.asciz	"header is corrupt (index: %zu)\n"

L_.str.2:                               ## @.str.2
	.asciz	"unexpected request id (index: %zu)\n"

L_.str.3:                               ## @.str.3
	.asciz	"unexpected body size (index: %zu)\n"

L_.str.4:                               ## @.str.4
	.asciz	"PARAMS content mistach\n"

	.no_dead_strip	_check_params
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_params
_check_params:                          ; @check_params
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	w9, #4128
Lloh0:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh1:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	sub	sp, sp, #1, lsl #12             ; =4096
	sub	sp, sp, #32
Lloh2:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	ldr	x8, [x1]
	lsl	x9, x8, #4
	ldr	x9, [x0, x9]
Lloh5:
	adrp	x25, _FCGI_RECORD_HEADER_SIZE@GOTPAGE
Lloh6:
	ldr	x25, [x25, _FCGI_RECORD_HEADER_SIZE@GOTPAGEOFF]
	ldr	x10, [x25]
	cmp	x9, x10
	b.ne	LBB0_10
; %bb.1:
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	mov	x24, #0
Lloh7:
	adrp	x26, _FCGI_VERSION_1@GOTPAGE
Lloh8:
	ldr	x26, [x26, _FCGI_VERSION_1@GOTPAGEOFF]
Lloh9:
	adrp	x27, _FCGI_PARAMS@GOTPAGE
Lloh10:
	ldr	x27, [x27, _FCGI_PARAMS@GOTPAGEOFF]
	add	x28, sp, #16
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x9, x23, x8, lsl #4
	ldr	x9, [x9, #8]
	ldr	x10, [x9]
	ldr	x11, [x26]
	cmp	x10, x11
	b.ne	LBB0_11
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x10, [x9, #8]
	ldr	x11, [x27]
	cmp	x10, x11
	b.ne	LBB0_11
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x10, [x9, #16]
	cbnz	x10, LBB0_11
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x10, [x9, #24]
	cbnz	x10, LBB0_11
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	ldrh	w10, [x9, #36]
	rev16	w10, w10
	cmp	x10, x21
	b.ne	LBB0_15
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x8, x8, #1
	str	x8, [x22]
	ldrh	w9, [x9, #32]
	rev16	w9, w9
	cbz	w9, LBB0_16
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	lsl	x10, x8, #4
	ldr	x2, [x23, x10]
	cmp	x2, x9
	b.ne	LBB0_18
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x0, x28, x24
	add	x8, x23, x8, lsl #4
	ldr	x1, [x8, #8]
	bl	_memcpy
	ldr	x8, [x22]
	lsl	x9, x8, #4
	ldr	x9, [x23, x9]
	add	x24, x9, x24
	add	x8, x8, #1
	str	x8, [x22]
	lsl	x9, x8, #4
	ldr	x9, [x23, x9]
	ldr	x10, [x25]
	cmp	x9, x10
	b.eq	LBB0_2
LBB0_10:
Lloh11:
	adrp	x9, _stderr@GOTPAGE
Lloh12:
	ldr	x9, [x9, _stderr@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x9]
	str	x8, [sp]
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_12
LBB0_11:
Lloh16:
	adrp	x9, _stderr@GOTPAGE
Lloh17:
	ldr	x9, [x9, _stderr@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x9]
	str	x8, [sp]
Lloh19:
	adrp	x1, l_.str.1@PAGE
Lloh20:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_12:
	bl	_fprintf
	mov	w0, #0
LBB0_13:
	ldur	x8, [x29, #-96]
Lloh21:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh22:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_20
; %bb.14:
	add	sp, sp, #1, lsl #12             ; =4096
	add	sp, sp, #32
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_15:
Lloh24:
	adrp	x9, _stderr@GOTPAGE
Lloh25:
	ldr	x9, [x9, _stderr@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x9]
	str	x8, [sp]
Lloh27:
	adrp	x1, l_.str.2@PAGE
Lloh28:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_12
LBB0_16:
	add	x0, sp, #16
	mov	x1, x24
	mov	x2, x20
	mov	x3, x19
	bl	_h2o_memis
	cbz	w0, LBB0_19
; %bb.17:
	mov	w0, #1
	b	LBB0_13
LBB0_18:
Lloh29:
	adrp	x9, _stderr@GOTPAGE
Lloh30:
	ldr	x9, [x9, _stderr@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x9]
	str	x8, [sp]
Lloh32:
	adrp	x1, l_.str.3@PAGE
Lloh33:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_12
LBB0_19:
Lloh34:
	adrp	x8, _stderr@GOTPAGE
Lloh35:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh36:
	ldr	w0, [x8]
Lloh37:
	adrp	x1, l_.str.4@PAGE
Lloh38:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_12
LBB0_20:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_FCGI_RECORD_HEADER_SIZE,8,3    ; @FCGI_RECORD_HEADER_SIZE
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"record too short (index: %zu)\n"

	.comm	_FCGI_VERSION_1,8,3             ; @FCGI_VERSION_1
	.comm	_FCGI_PARAMS,8,3                ; @FCGI_PARAMS
l_.str.1:                               ; @.str.1
	.asciz	"header is corrupt (index: %zu)\n"

l_.str.2:                               ; @.str.2
	.asciz	"unexpected request id (index: %zu)\n"

l_.str.3:                               ; @.str.3
	.asciz	"unexpected body size (index: %zu)\n"

l_.str.4:                               ; @.str.4
	.asciz	"PARAMS content mistach\n"

	.no_dead_strip	_check_params
.subsections_via_symbols
