	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_h2o_send_error_generic         ## -- Begin function h2o_send_error_generic
	.p2align	4, 0x90
_h2o_send_error_generic:                ## @h2o_send_error_generic
	.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
	movl	%r8d, %r15d
	movq	%rcx, %r14
	movq	%rdx, %r12
	movl	%esi, %r13d
	movq	%rdi, %rbx
	cmpq	$0, 40(%rdi)
	jne	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_h2o_req_setup
	movq	%rbx, %rdi
	movq	%rax, %rsi
	movq	%rax, %rdx
	callq	_h2o_req_bind_conf
LBB0_2:
	movq	_H2O_SEND_ERROR_HTTP1_CLOSE_CONNECTION@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_4
## %bb.3:
	movq	$0, 32(%rbx)
LBB0_4:
	movl	%r13d, (%rbx)
	movq	%r12, 8(%rbx)
	movq	%r14, %rdi
	callq	_strlen
	movl	%eax, 20(%rbx)
	movq	_H2O_SEND_ERROR_KEEP_HEADERS@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	jne	LBB0_6
## %bb.5:
	leaq	16(%rbx), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
LBB0_6:
	leaq	24(%rbx), %r15
	leaq	16(%rbx), %r12
	movq	_H2O_TOKEN_CONTENT_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	leaq	L_.str(%rip), %rdi
	callq	_H2O_STRLIT
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	%r13d, %edx
	xorl	%ecx, %ecx
	movl	%eax, %r8d
	callq	_h2o_add_header
	movq	_SIZE_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_h2o_send_inline                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_H2O_SEND_ERROR_HTTP1_CLOSE_CONNECTION,4,2 ## @H2O_SEND_ERROR_HTTP1_CLOSE_CONNECTION
	.comm	_H2O_SEND_ERROR_KEEP_HEADERS,4,2 ## @H2O_SEND_ERROR_KEEP_HEADERS
	.comm	_H2O_TOKEN_CONTENT_TYPE,4,2     ## @H2O_TOKEN_CONTENT_TYPE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"text/plain; charset=utf-8"

	.comm	_SIZE_MAX,4,2                   ## @SIZE_MAX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_h2o_send_error_generic         ; -- Begin function h2o_send_error_generic
	.p2align	2
_h2o_send_error_generic:                ; @h2o_send_error_generic
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x4
	mov	x19, x3
	mov	x22, x2
	mov	x23, x1
	mov	x20, x0
	ldr	x8, [x0, #40]
	cbnz	x8, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_h2o_req_setup
	mov	x1, x0
	mov	x0, x20
	mov	x2, x1
	bl	_h2o_req_bind_conf
LBB0_2:
Lloh0:
	adrp	x8, _H2O_SEND_ERROR_HTTP1_CLOSE_CONNECTION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _H2O_SEND_ERROR_HTTP1_CLOSE_CONNECTION@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_4
; %bb.3:
	str	xzr, [x20, #32]
LBB0_4:
	str	w23, [x20]
	str	x22, [x20, #8]
	mov	x0, x19
	bl	_strlen
	str	w0, [x20, #20]
Lloh3:
	adrp	x8, _H2O_SEND_ERROR_KEEP_HEADERS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _H2O_SEND_ERROR_KEEP_HEADERS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w21
	b.ne	LBB0_6
; %bb.5:
	add	x0, x20, #16
	mov	w1, #0
	mov	w2, #4
	bl	_memset
LBB0_6:
	add	x21, x20, #24
	add	x22, x20, #16
Lloh6:
	adrp	x8, _H2O_TOKEN_CONTENT_TYPE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _H2O_TOKEN_CONTENT_TYPE@GOTPAGEOFF]
Lloh8:
	ldr	w23, [x8]
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_H2O_STRLIT
	mov	x4, x0
	mov	x0, x21
	mov	x1, x22
	mov	x2, x23
	mov	x3, #0
	bl	_h2o_add_header
Lloh11:
	adrp	x8, _SIZE_MAX@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SIZE_MAX@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_h2o_send_inline
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_H2O_SEND_ERROR_HTTP1_CLOSE_CONNECTION,4,2 ; @H2O_SEND_ERROR_HTTP1_CLOSE_CONNECTION
	.comm	_H2O_SEND_ERROR_KEEP_HEADERS,4,2 ; @H2O_SEND_ERROR_KEEP_HEADERS
	.comm	_H2O_TOKEN_CONTENT_TYPE,4,2     ; @H2O_TOKEN_CONTENT_TYPE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"text/plain; charset=utf-8"

	.comm	_SIZE_MAX,4,2                   ; @SIZE_MAX
.subsections_via_symbols
