	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ghb_shutdown_gsm
_ghb_shutdown_gsm:                      ## @ghb_shutdown_gsm
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	$0, -24(%rbp)
	leaq	L_.str(%rip), %rdi
	callq	_g_debug
	movq	_GPM_DBUS_SM_SERVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GPM_DBUS_SM_PATH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GPM_DBUS_SM_INTERFACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_ghb_get_session_dbus_proxy
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %rbx
	movq	_G_DBUS_CALL_FLAGS_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-24(%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
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_G_OBJECT
	movl	%eax, %edi
	callq	_g_object_unref
	testq	%r14, %r14
	je	LBB0_2
## %bb.5:
	movq	%r14, %rdi
	callq	_g_variant_unref
	jmp	LBB0_6
LBB0_2:
	movq	-24(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	callq	_g_error_free
LBB0_4:
	xorl	%eax, %eax
	callq	_ghb_shutdown_gpm
LBB0_6:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ghb_shutdown_gpm()"

	.comm	_GPM_DBUS_SM_SERVICE,4,2        ## @GPM_DBUS_SM_SERVICE
	.comm	_GPM_DBUS_SM_PATH,4,2           ## @GPM_DBUS_SM_PATH
	.comm	_GPM_DBUS_SM_INTERFACE,4,2      ## @GPM_DBUS_SM_INTERFACE
L_.str.1:                               ## @.str.1
	.asciz	"Shutdown"

	.comm	_G_DBUS_CALL_FLAGS_NONE,4,2     ## @G_DBUS_CALL_FLAGS_NONE
	.no_dead_strip	_ghb_shutdown_gsm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ghb_shutdown_gsm
_ghb_shutdown_gsm:                      ; @ghb_shutdown_gsm
	.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_SM_SERVICE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GPM_DBUS_SM_SERVICE@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x8, _GPM_DBUS_SM_PATH@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GPM_DBUS_SM_PATH@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x8, _GPM_DBUS_SM_INTERFACE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GPM_DBUS_SM_INTERFACE@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	bl	_ghb_get_session_dbus_proxy
	cbz	x0, LBB0_6
; %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
	mov	x20, x0
	mov	x0, x19
	bl	_G_OBJECT
	bl	_g_object_unref
	cbz	x20, LBB0_3
; %bb.2:
	mov	x0, x20
	bl	_g_variant_unref
	b	LBB0_6
LBB0_3:
	ldr	x0, [sp, #8]
	cbz	x0, LBB0_5
; %bb.4:
	bl	_g_error_free
LBB0_5:
	bl	_ghb_shutdown_gpm
LBB0_6:
	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
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ghb_shutdown_gpm()"

	.comm	_GPM_DBUS_SM_SERVICE,4,2        ; @GPM_DBUS_SM_SERVICE
	.comm	_GPM_DBUS_SM_PATH,4,2           ; @GPM_DBUS_SM_PATH
	.comm	_GPM_DBUS_SM_INTERFACE,4,2      ; @GPM_DBUS_SM_INTERFACE
l_.str.1:                               ; @.str.1
	.asciz	"Shutdown"

	.comm	_G_DBUS_CALL_FLAGS_NONE,4,2     ; @G_DBUS_CALL_FLAGS_NONE
	.no_dead_strip	_ghb_shutdown_gsm
.subsections_via_symbols
