	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setIdleInhibitor
_setIdleInhibitor:                      ## @setIdleInhibitor
	.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	%rdi, %rbx
	movq	(%rdi), %rdi
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.1:
	testq	%rdi, %rdi
	jne	LBB0_7
## %bb.2:
	movq	__glfw@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.3:
	movl	8(%rbx), %esi
	callq	_zwp_idle_inhibit_manager_v1_create_inhibitor
	movq	%rax, (%rbx)
	testq	%rax, %rax
	jne	LBB0_7
## %bb.4:
	movq	_GLFW_PLATFORM_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	__glfwInputError                ## TAILCALL
LBB0_5:
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.6:
	callq	_zwp_idle_inhibitor_v1_destroy
	movq	$0, (%rbx)
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__glfw,8,3                      ## @_glfw
	.comm	_GLFW_PLATFORM_ERROR,4,2        ## @GLFW_PLATFORM_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Wayland: Idle inhibitor creation failed"

	.no_dead_strip	_setIdleInhibitor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setIdleInhibitor
_setIdleInhibitor:                      ; @setIdleInhibitor
	.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	x0, [x0]
	cbz	x1, LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, __glfw@GOTPAGE
Lloh1:
	ldr	x8, [x8, __glfw@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, #0
	ccmp	x8, #0, #4, eq
	b.eq	LBB0_6
; %bb.2:
	ldr	w1, [x19, #8]
	mov	x0, x8
	bl	_zwp_idle_inhibit_manager_v1_create_inhibitor
	str	x0, [x19]
	cbnz	x0, LBB0_6
; %bb.3:
Lloh3:
	adrp	x8, _GLFW_PLATFORM_ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GLFW_PLATFORM_ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	__glfwInputError
LBB0_4:
	cbz	x0, LBB0_6
; %bb.5:
	bl	_zwp_idle_inhibitor_v1_destroy
	str	xzr, [x19]
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	__glfw,8,3                      ; @_glfw
	.comm	_GLFW_PLATFORM_ERROR,4,2        ; @GLFW_PLATFORM_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Wayland: Idle inhibitor creation failed"

	.no_dead_strip	_setIdleInhibitor
.subsections_via_symbols
