	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fpm_event_pre_init             ## -- Begin function fpm_event_pre_init
	.p2align	4, 0x90
_fpm_event_pre_init:                    ## @fpm_event_pre_init
	.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, %rbx
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_fpm_event_kqueue_module
	movq	_module@GOTPCREL(%rip), %r15
	movq	%rax, (%r15)
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	testq	%rbx, %rbx
	je	LBB0_22
## %bb.2:
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_22
LBB0_3:
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_fpm_event_port_module
	movq	%rax, (%r15)
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	testq	%rbx, %rbx
	je	LBB0_22
## %bb.5:
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_22
LBB0_6:
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_fpm_event_epoll_module
	movq	%rax, (%r15)
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	testq	%rbx, %rbx
	je	LBB0_22
## %bb.8:
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_22
LBB0_9:
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_fpm_event_devpoll_module
	movq	%rax, (%r15)
	testq	%rax, %rax
	je	LBB0_12
## %bb.10:
	testq	%rbx, %rbx
	je	LBB0_22
## %bb.11:
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_22
LBB0_12:
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_fpm_event_poll_module
	movq	%rax, (%r15)
	testq	%rax, %rax
	je	LBB0_15
## %bb.13:
	testq	%rbx, %rbx
	je	LBB0_22
## %bb.14:
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_22
LBB0_15:
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_fpm_event_select_module
	movq	%rax, (%r15)
	testq	%rax, %rax
	je	LBB0_18
## %bb.16:
	testq	%rbx, %rbx
	je	LBB0_22
## %bb.17:
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_strcasecmp
	testq	%rax, %rax
	jne	LBB0_19
	jmp	LBB0_22
LBB0_18:
	testq	%rbx, %rbx
	je	LBB0_20
LBB0_19:
	movq	_ZLOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_zlog
	jmp	LBB0_21
LBB0_20:
	movq	_ZLOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_zlog
LBB0_21:
	movl	$-1, %r14d
LBB0_22:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_module,8,3                     ## @module
	.comm	_ZLOG_ERROR,4,2                 ## @ZLOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"event mechanism '%s' is not available on this system"

L_.str.1:                               ## @.str.1
	.asciz	"unable to find a suitable event mechanism on this system"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fpm_event_pre_init             ; -- Begin function fpm_event_pre_init
	.p2align	2
_fpm_event_pre_init:                    ; @fpm_event_pre_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	bl	_fpm_event_kqueue_module
Lloh0:
	adrp	x20, _module@GOTPAGE
Lloh1:
	ldr	x20, [x20, _module@GOTPAGEOFF]
	str	x0, [x20]
	cbz	x0, LBB0_3
; %bb.1:
	cbz	x19, LBB0_18
; %bb.2:
	ldr	w0, [x0]
	mov	x1, x19
	bl	_strcasecmp
	cbz	x0, LBB0_19
LBB0_3:
	bl	_fpm_event_port_module
	str	x0, [x20]
	cbz	x0, LBB0_6
; %bb.4:
	cbz	x19, LBB0_18
; %bb.5:
	ldr	w0, [x0]
	mov	x1, x19
	bl	_strcasecmp
	cbz	x0, LBB0_19
LBB0_6:
	bl	_fpm_event_epoll_module
	str	x0, [x20]
	cbz	x0, LBB0_9
; %bb.7:
	cbz	x19, LBB0_18
; %bb.8:
	ldr	w0, [x0]
	mov	x1, x19
	bl	_strcasecmp
	cbz	x0, LBB0_19
LBB0_9:
	bl	_fpm_event_devpoll_module
	str	x0, [x20]
	cbz	x0, LBB0_12
; %bb.10:
	cbz	x19, LBB0_18
; %bb.11:
	ldr	w0, [x0]
	mov	x1, x19
	bl	_strcasecmp
	cbz	x0, LBB0_19
LBB0_12:
	bl	_fpm_event_poll_module
	str	x0, [x20]
	cbz	x0, LBB0_15
; %bb.13:
	cbz	x19, LBB0_18
; %bb.14:
	ldr	w0, [x0]
	mov	x1, x19
	bl	_strcasecmp
	cbz	x0, LBB0_19
LBB0_15:
	bl	_fpm_event_select_module
	str	x0, [x20]
	cbz	x0, LBB0_20
; %bb.16:
	cbz	x19, LBB0_18
; %bb.17:
	ldr	w0, [x0]
	mov	x1, x19
	bl	_strcasecmp
	cbnz	x0, LBB0_21
	b	LBB0_19
LBB0_18:
	mov	w0, #0
LBB0_19:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_20:
	cbz	x19, LBB0_22
LBB0_21:
Lloh2:
	adrp	x8, _ZLOG_ERROR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ZLOG_ERROR@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	str	x19, [sp]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_23
LBB0_22:
Lloh7:
	adrp	x8, _ZLOG_ERROR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ZLOG_ERROR@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_23:
	bl	_zlog
	mov	w0, #-1
	b	LBB0_19
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_module,8,3                     ; @module
	.comm	_ZLOG_ERROR,4,2                 ; @ZLOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"event mechanism '%s' is not available on this system"

l_.str.1:                               ; @.str.1
	.asciz	"unable to find a suitable event mechanism on this system"

.subsections_via_symbols
