	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_h2o_configurator_apply         ## -- Begin function h2o_configurator_apply
	.p2align	4, 0x90
_h2o_configurator_apply:                ## @h2o_configurator_apply
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movq	%rsi, %r14
	movq	%rdi, %r15
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_create_context
	movq	%rax, %rbx
	movq	%r15, 8(%rax)
	leaq	8(%r15), %rax
	movq	%rax, 16(%rbx)
	movl	%r12d, (%rbx)
	movq	_H2O_CONFIGURATOR_FLAG_GLOBAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%ecx, %ecx
	callq	_h2o_configurator_apply_commands
	movl	%eax, %r12d
	movq	%rbx, %rdi
	callq	_destroy_context
	testl	%r12d, %r12d
	jne	LBB0_3
## %bb.1:
	movq	(%r15), %rax
	cmpq	$0, (%rax)
	movl	$0, %r12d
	jne	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdx
	xorl	%edi, %edi
	movq	%r14, %rsi
	callq	_h2o_configurator_errprintf
	movl	$-1, %r12d
LBB0_3:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_H2O_CONFIGURATOR_FLAG_GLOBAL,4,2 ## @H2O_CONFIGURATOR_FLAG_GLOBAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mandatory configuration directive `hosts` is missing"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_h2o_configurator_apply         ; -- Begin function h2o_configurator_apply
	.p2align	2
_h2o_configurator_apply:                ; @h2o_configurator_apply
	.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	x21, x2
	mov	x19, x1
	mov	x20, x0
	mov	x0, #0
	mov	w1, #0
	bl	_create_context
	mov	x22, x0
	add	x8, x20, #8
	stp	x20, x8, [x0, #8]
	str	w21, [x0]
Lloh0:
	adrp	x8, _H2O_CONFIGURATOR_FLAG_GLOBAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _H2O_CONFIGURATOR_FLAG_GLOBAL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, x19
	mov	x3, #0
	bl	_h2o_configurator_apply_commands
	mov	x21, x0
	mov	x0, x22
	bl	_destroy_context
	cbnz	w21, LBB0_4
; %bb.1:
	ldr	x8, [x20]
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.2:
	mov	w21, #0
	b	LBB0_4
LBB0_3:
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, #0
	mov	x1, x19
	bl	_h2o_configurator_errprintf
	mov	w21, #-1
LBB0_4:
	mov	x0, x21
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_H2O_CONFIGURATOR_FLAG_GLOBAL,4,2 ; @H2O_CONFIGURATOR_FLAG_GLOBAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mandatory configuration directive `hosts` is missing"

.subsections_via_symbols
