	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function on_config_temp_buffer_threshold
_on_config_temp_buffer_threshold:       ## @on_config_temp_buffer_threshold
	.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	%rdx, %rbx
	movq	%rdi, %r14
	movl	(%rdx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	leaq	L_.str.1(%rip), %rdx
	movq	_h2o_socket_buffer_mmap_settings@GOTPCREL(%rip), %r15
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rcx
	callq	_h2o_configurator_scanf
	movq	%rax, %rcx
	movl	$-1, %eax
	testq	%rcx, %rcx
	jne	LBB0_5
## %bb.3:
	xorl	%eax, %eax
	cmpl	$1048575, (%r15)                ## imm = 0xFFFFF
	jg	LBB0_5
## %bb.4:
	leaq	L_.str.2(%rip), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_h2o_configurator_errprintf
	movl	$-1, %eax
	jmp	LBB0_5
LBB0_1:
	movq	_SIZE_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_h2o_socket_buffer_mmap_settings@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	xorl	%eax, %eax
LBB0_5:
	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	"OFF"

	.comm	_SIZE_MAX,4,2                   ## @SIZE_MAX
	.comm	_h2o_socket_buffer_mmap_settings,4,2 ## @h2o_socket_buffer_mmap_settings
L_.str.1:                               ## @.str.1
	.asciz	"%zu"

L_.str.2:                               ## @.str.2
	.asciz	"threshold is too low (must be >= 1048576; OFF to disable)"

	.no_dead_strip	_on_config_temp_buffer_threshold
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function on_config_temp_buffer_threshold
_on_config_temp_buffer_threshold:       ; @on_config_temp_buffer_threshold
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	mov	x20, x0
	ldr	w0, [x2]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcasecmp
	cbz	x0, LBB0_5
; %bb.1:
Lloh2:
	adrp	x2, l_.str.1@PAGE
Lloh3:
	add	x2, x2, l_.str.1@PAGEOFF
Lloh4:
	adrp	x21, _h2o_socket_buffer_mmap_settings@GOTPAGE
Lloh5:
	ldr	x21, [x21, _h2o_socket_buffer_mmap_settings@GOTPAGEOFF]
	mov	x0, x20
	mov	x1, x19
	mov	x3, x21
	bl	_h2o_configurator_scanf
	cbnz	x0, LBB0_4
; %bb.2:
	ldr	w8, [x21]
	cmp	w8, #256, lsl #12               ; =1048576
	b.ge	LBB0_6
; %bb.3:
Lloh6:
	adrp	x2, l_.str.2@PAGE
Lloh7:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	bl	_h2o_configurator_errprintf
LBB0_4:
	mov	w0, #-1
	b	LBB0_7
LBB0_5:
Lloh8:
	adrp	x8, _SIZE_MAX@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SIZE_MAX@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _h2o_socket_buffer_mmap_settings@GOTPAGE
Lloh12:
	ldr	x9, [x9, _h2o_socket_buffer_mmap_settings@GOTPAGEOFF]
Lloh13:
	str	w8, [x9]
	b	LBB0_7
LBB0_6:
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"OFF"

	.comm	_SIZE_MAX,4,2                   ; @SIZE_MAX
	.comm	_h2o_socket_buffer_mmap_settings,4,2 ; @h2o_socket_buffer_mmap_settings
l_.str.1:                               ; @.str.1
	.asciz	"%zu"

l_.str.2:                               ; @.str.2
	.asciz	"threshold is too low (must be >= 1048576; OFF to disable)"

	.no_dead_strip	_on_config_temp_buffer_threshold
.subsections_via_symbols
