	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ghb_suspend_gpm
_ghb_suspend_gpm:                       ## @ghb_suspend_gpm
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	$0, -16(%rbp)
	leaq	L_.str(%rip), %rdi
	callq	_g_debug
	movq	_GPM_DBUS_PM_SERVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GPM_DBUS_PM_PATH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GPM_DBUS_PM_INTERFACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_ghb_get_session_dbus_proxy
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	%rax, %rbx
	movq	_G_DBUS_CALL_FLAGS_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-16(%rbp), %rax
	movq	%rax, (%rsp)
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	_g_dbus_proxy_call_sync
	testq	%rax, %rax
	je	LBB0_2
## %bb.5:
	movq	%rax, %rdi
	callq	_g_variant_unref
	jmp	LBB0_6
LBB0_2:
	movq	-16(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_g_warning
	movq	-16(%rbp), %rdi
	callq	_g_error_free
	jmp	LBB0_6
LBB0_4:
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_g_warning
LBB0_6:
	movq	%rbx, %rdi
	callq	_G_OBJECT
	movl	%eax, %edi
	callq	_g_object_unref
LBB0_7:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ghb_suspend_gpm()"

	.comm	_GPM_DBUS_PM_SERVICE,4,2        ## @GPM_DBUS_PM_SERVICE
	.comm	_GPM_DBUS_PM_PATH,4,2           ## @GPM_DBUS_PM_PATH
	.comm	_GPM_DBUS_PM_INTERFACE,4,2      ## @GPM_DBUS_PM_INTERFACE
L_.str.1:                               ## @.str.1
	.asciz	"Suspend"

	.comm	_G_DBUS_CALL_FLAGS_NONE,4,2     ## @G_DBUS_CALL_FLAGS_NONE
L_.str.2:                               ## @.str.2
	.asciz	"Suspend failed: %s"

L_.str.3:                               ## @.str.3
	.asciz	"Suspend failed"

	.no_dead_strip	_ghb_suspend_gpm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ghb_suspend_gpm
_ghb_suspend_gpm:                       ; @ghb_suspend_gpm
	.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
	str	xzr, [sp, #8]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_g_debug
Lloh2:
	adrp	x8, _GPM_DBUS_PM_SERVICE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GPM_DBUS_PM_SERVICE@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x8, _GPM_DBUS_PM_PATH@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GPM_DBUS_PM_PATH@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x8, _GPM_DBUS_PM_INTERFACE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GPM_DBUS_PM_INTERFACE@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	bl	_ghb_get_session_dbus_proxy
	cbz	x0, LBB0_7
; %bb.1:
	mov	x19, x0
Lloh11:
	adrp	x8, _G_DBUS_CALL_FLAGS_NONE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _G_DBUS_CALL_FLAGS_NONE@GOTPAGEOFF]
Lloh13:
	ldr	w3, [x8]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x6, sp, #8
	mov	x2, #0
	mov	w4, #-1
	mov	x5, #0
	bl	_g_dbus_proxy_call_sync
	cbz	x0, LBB0_3
; %bb.2:
	bl	_g_variant_unref
	b	LBB0_6
LBB0_3:
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_5
; %bb.4:
	ldr	w8, [x8]
	str	x8, [sp]
Lloh16:
	adrp	x0, l_.str.2@PAGE
Lloh17:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_g_warning
	ldr	x0, [sp, #8]
	bl	_g_error_free
	b	LBB0_6
LBB0_5:
Lloh18:
	adrp	x0, l_.str.3@PAGE
Lloh19:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_g_warning
LBB0_6:
	mov	x0, x19
	bl	_G_OBJECT
	bl	_g_object_unref
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ghb_suspend_gpm()"

	.comm	_GPM_DBUS_PM_SERVICE,4,2        ; @GPM_DBUS_PM_SERVICE
	.comm	_GPM_DBUS_PM_PATH,4,2           ; @GPM_DBUS_PM_PATH
	.comm	_GPM_DBUS_PM_INTERFACE,4,2      ; @GPM_DBUS_PM_INTERFACE
l_.str.1:                               ; @.str.1
	.asciz	"Suspend"

	.comm	_G_DBUS_CALL_FLAGS_NONE,4,2     ; @G_DBUS_CALL_FLAGS_NONE
l_.str.2:                               ; @.str.2
	.asciz	"Suspend failed: %s"

l_.str.3:                               ; @.str.3
	.asciz	"Suspend failed"

	.no_dead_strip	_ghb_suspend_gpm
.subsections_via_symbols
