	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_h2o_evloop_create              ## -- Begin function h2o_evloop_create
	.p2align	4, 0x90
_h2o_evloop_create:                     ## @h2o_evloop_create
	.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
	subq	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	$8, %edi
	callq	_create_evloop
	movq	%rax, %rbx
	movq	_cloexec_mutex@GOTPCREL(%rip), %rdi
	callq	_pthread_mutex_lock
	movl	$10, %edi
	callq	_epoll_create
	movl	%eax, 4(%rbx)
	movq	_F_SETFD@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_FD_CLOEXEC@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movl	%eax, %edi
	callq	_fcntl
	cmpl	$-1, %eax
	je	LBB0_1
LBB0_5:
	movq	_cloexec_mutex@GOTPCREL(%rip), %rdi
	callq	_pthread_mutex_unlock
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_7
## %bb.6:
	movq	%rbx, %rax
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_errno@GOTPCREL(%rip), %r14
	movq	_EAGAIN@GOTPCREL(%rip), %r15
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%rbx), %edi
	movl	(%r12), %esi
	movl	(%r13), %edx
	callq	_fcntl
	cmpl	$-1, %eax
	jne	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rdi
	cmpq	(%r15), %rdi
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	-176(%rbp), %rsi
	movl	$128, %edx
	callq	_h2o_strerror_r
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_h2o_fatal
	jmp	LBB0_4
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_cloexec_mutex,4,2              ## @cloexec_mutex
	.comm	_F_SETFD,4,2                    ## @F_SETFD
	.comm	_FD_CLOEXEC,4,2                 ## @FD_CLOEXEC
	.comm	_errno,8,3                      ## @errno
	.comm	_EAGAIN,8,3                     ## @EAGAIN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"h2o_evloop_create: failed to set FD_CLOEXEC: %s\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_h2o_evloop_create              ; -- Begin function h2o_evloop_create
	.p2align	2
_h2o_evloop_create:                     ; @h2o_evloop_create
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	mov	w0, #8
	bl	_create_evloop
	mov	x19, x0
Lloh3:
	adrp	x0, _cloexec_mutex@GOTPAGE
Lloh4:
	ldr	x0, [x0, _cloexec_mutex@GOTPAGEOFF]
	bl	_pthread_mutex_lock
	mov	w0, #10
	bl	_epoll_create
	str	w0, [x19, #4]
Lloh5:
	adrp	x21, _F_SETFD@GOTPAGE
Lloh6:
	ldr	x21, [x21, _F_SETFD@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh7:
	adrp	x22, _FD_CLOEXEC@GOTPAGE
Lloh8:
	ldr	x22, [x22, _FD_CLOEXEC@GOTPAGEOFF]
	ldr	w2, [x22]
	bl	_fcntl
	cmn	w0, #1
	b.eq	LBB0_3
LBB0_1:
Lloh9:
	adrp	x0, _cloexec_mutex@GOTPAGE
Lloh10:
	ldr	x0, [x0, _cloexec_mutex@GOTPAGEOFF]
	bl	_pthread_mutex_unlock
	ldur	x8, [x29, #-56]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.2:
	mov	x0, x19
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
LBB0_3:
Lloh14:
	adrp	x23, _errno@GOTPAGE
Lloh15:
	ldr	x23, [x23, _errno@GOTPAGEOFF]
Lloh16:
	adrp	x24, _EAGAIN@GOTPAGE
Lloh17:
	ldr	x24, [x24, _EAGAIN@GOTPAGEOFF]
Lloh18:
	adrp	x20, l_.str@PAGE
Lloh19:
	add	x20, x20, l_.str@PAGEOFF
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x19, #4]
	ldr	w1, [x21]
	ldr	w2, [x22]
	bl	_fcntl
	cmn	w0, #1
	b.ne	LBB0_1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x23]
	ldr	x8, [x24]
	cmp	x0, x8
	b.eq	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x1, sp, #8
	mov	w2, #128
	bl	_h2o_strerror_r
	mov	x1, x0
	mov	x0, x20
	bl	_h2o_fatal
	b	LBB0_4
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_cloexec_mutex,4,2              ; @cloexec_mutex
	.comm	_F_SETFD,4,2                    ; @F_SETFD
	.comm	_FD_CLOEXEC,4,2                 ; @FD_CLOEXEC
	.comm	_errno,8,3                      ; @errno
	.comm	_EAGAIN,8,3                     ; @EAGAIN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"h2o_evloop_create: failed to set FD_CLOEXEC: %s\n"

.subsections_via_symbols
