	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_init_epoll                     ## -- Begin function init_epoll
	.p2align	4, 0x90
_init_epoll:                            ## @init_epoll
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_epoll_fd@GOTPCREL(%rip), %rbx
	xorl	%eax, %eax
	cmpl	$0, (%rbx)
	jne	LBB0_4
## %bb.1:
	movq	_Events@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	$-1, (%rax)
	movq	_MAX_EVENTS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_epoll_create
	testl	%eax, %eax
	js	LBB0_2
## %bb.3:
	movl	%eax, (%rbx)
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	leaq	L_.str(%rip), %rdi
	callq	_perror
	movl	$-1, %eax
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_epoll_fd,4,2                   ## @epoll_fd
	.comm	_Events,8,3                     ## @Events
	.comm	_MAX_EVENTS,4,2                 ## @MAX_EVENTS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"epoll_create()"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_init_epoll                     ; -- Begin function init_epoll
	.p2align	2
_init_epoll:                            ; @init_epoll
	.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
Lloh0:
	adrp	x19, _epoll_fd@GOTPAGE
Lloh1:
	ldr	x19, [x19, _epoll_fd@GOTPAGEOFF]
	ldr	w8, [x19]
	cbz	w8, LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_4
LBB0_2:
Lloh2:
	adrp	x8, _Events@GOTPAGE
Lloh3:
	ldr	x8, [x8, _Events@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	mov	w9, #-1
	str	w9, [x8]
Lloh5:
	adrp	x8, _MAX_EVENTS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MAX_EVENTS@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_epoll_create
	tbnz	w0, #31, LBB0_5
; %bb.3:
	str	w0, [x19]
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_perror
	mov	w0, #-1
	b	LBB0_4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_epoll_fd,4,2                   ; @epoll_fd
	.comm	_Events,8,3                     ; @Events
	.comm	_MAX_EVENTS,4,2                 ; @MAX_EVENTS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"epoll_create()"

.subsections_via_symbols
