	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_h2o_evloop_socket_accept       ## -- Begin function h2o_evloop_socket_accept
	.p2align	4, 0x90
_h2o_evloop_socket_accept:              ## @h2o_evloop_socket_accept
	.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	%rdi, %r14
	movl	4(%rdi), %edi
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_cloexec_accept
	cmpl	$-1, %eax
	je	LBB0_3
## %bb.1:
	movl	%eax, %ebx
	movq	_F_SETFL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_O_NONBLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ebx, %edi
	callq	_fcntl
	movl	(%r14), %edi
	movq	_H2O_SOCKET_FLAG_IS_ACCEPTED_CONNECTION@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ebx, %esi
	callq	_create_socket_set_nodelay
	movq	%rax, %r15
	movl	(%r14), %edi
	movq	_h2o_socket_ebpf_init_key@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdx
	callq	_h2o_socket_ebpf_lookup
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	$1, (%r15)
LBB0_3:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_F_SETFL,4,2                    ## @F_SETFL
	.comm	_O_NONBLOCK,4,2                 ## @O_NONBLOCK
	.comm	_H2O_SOCKET_FLAG_IS_ACCEPTED_CONNECTION,4,2 ## @H2O_SOCKET_FLAG_IS_ACCEPTED_CONNECTION
	.comm	_h2o_socket_ebpf_init_key,4,2   ## @h2o_socket_ebpf_init_key
	.comm	_IPPROTO_TCP,4,2                ## @IPPROTO_TCP
	.comm	_SOCK_CLOEXEC,4,2               ## @SOCK_CLOEXEC
	.comm	_SOCK_NONBLOCK,4,2              ## @SOCK_NONBLOCK
	.comm	_TCP_NODELAY,4,2                ## @TCP_NODELAY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_h2o_evloop_socket_accept       ; -- Begin function h2o_evloop_socket_accept
	.p2align	2
_h2o_evloop_socket_accept:              ; @h2o_evloop_socket_accept
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w0, [x0, #4]
	mov	x1, #0
	mov	x2, #0
	bl	_cloexec_accept
	cmn	w0, #1
	b.eq	LBB0_3
; %bb.1:
	mov	x20, x0
Lloh0:
	adrp	x8, _F_SETFL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _F_SETFL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _O_NONBLOCK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _O_NONBLOCK@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_fcntl
	ldr	w0, [x19]
Lloh6:
	adrp	x8, _H2O_SOCKET_FLAG_IS_ACCEPTED_CONNECTION@GOTPAGE
Lloh7:
	ldr	x8, [x8, _H2O_SOCKET_FLAG_IS_ACCEPTED_CONNECTION@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x1, x20
	bl	_create_socket_set_nodelay
	mov	x20, x0
	ldr	w0, [x19]
Lloh9:
	adrp	x8, _h2o_socket_ebpf_init_key@GOTPAGE
Lloh10:
	ldr	x8, [x8, _h2o_socket_ebpf_init_key@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x2, x20
	bl	_h2o_socket_ebpf_lookup
	cbz	x0, LBB0_4
; %bb.2:
	mov	w8, #1
	str	w8, [x20]
	b	LBB0_4
LBB0_3:
	mov	x20, #0
LBB0_4:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_F_SETFL,4,2                    ; @F_SETFL
	.comm	_O_NONBLOCK,4,2                 ; @O_NONBLOCK
	.comm	_H2O_SOCKET_FLAG_IS_ACCEPTED_CONNECTION,4,2 ; @H2O_SOCKET_FLAG_IS_ACCEPTED_CONNECTION
	.comm	_h2o_socket_ebpf_init_key,4,2   ; @h2o_socket_ebpf_init_key
	.comm	_IPPROTO_TCP,4,2                ; @IPPROTO_TCP
	.comm	_SOCK_CLOEXEC,4,2               ; @SOCK_CLOEXEC
	.comm	_SOCK_NONBLOCK,4,2              ; @SOCK_NONBLOCK
	.comm	_TCP_NODELAY,4,2                ; @TCP_NODELAY
.subsections_via_symbols
