	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ghb_can_shutdown_gsm
_ghb_can_shutdown_gsm:                  ## @ghb_can_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	%r15
	pushq	%r14
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_FALSE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	movl	%eax, -28(%rbp)
	movq	$0, -40(%rbp)
	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, %r14
	movq	_G_DBUS_CALL_FLAGS_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-40(%rbp), %rax
	movq	%rax, (%rsp)
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	_g_dbus_proxy_call_sync
	movq	%rax, %r15
	movq	%r14, %rdi
	callq	_G_OBJECT
	movl	%eax, %edi
	callq	_g_object_unref
	testq	%r15, %r15
	je	LBB0_2
## %bb.5:
	leaq	L_.str.1(%rip), %rsi
	leaq	-28(%rbp), %rbx
	movq	%r15, %rdi
	movq	%rbx, %rdx
	callq	_g_variant_get
	movq	%r15, %rdi
	callq	_g_variant_unref
	jmp	LBB0_6
LBB0_2:
	movq	-40(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	callq	_g_error_free
LBB0_4:
	xorl	%eax, %eax
	callq	_ghb_can_shutdown_gpm
	movl	%eax, -28(%rbp)
	leaq	-28(%rbp), %rbx
LBB0_6:
	movl	(%rbx), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.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
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CanShutdown"

	.comm	_G_DBUS_CALL_FLAGS_NONE,4,2     ## @G_DBUS_CALL_FLAGS_NONE
L_.str.1:                               ## @.str.1
	.asciz	"(b)"

	.no_dead_strip	_ghb_can_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_can_shutdown_gsm
_ghb_can_shutdown_gsm:                  ; @ghb_can_shutdown_gsm
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
Lloh0:
	adrp	x21, _FALSE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _FALSE@GOTPAGEOFF]
	ldr	w8, [x21]
	str	w8, [sp, #12]
	str	xzr, [sp]
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@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	mov	x6, sp
	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:
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x21, sp, #12
	add	x2, sp, #12
	mov	x0, x20
	bl	_g_variant_get
	mov	x0, x20
	bl	_g_variant_unref
	b	LBB0_6
LBB0_3:
	ldr	x0, [sp]
	cbz	x0, LBB0_5
; %bb.4:
	bl	_g_error_free
LBB0_5:
	bl	_ghb_can_shutdown_gpm
	str	w0, [sp, #12]
	add	x21, sp, #12
LBB0_6:
	ldr	w0, [x21]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.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
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CanShutdown"

	.comm	_G_DBUS_CALL_FLAGS_NONE,4,2     ; @G_DBUS_CALL_FLAGS_NONE
l_.str.1:                               ; @.str.1
	.asciz	"(b)"

	.no_dead_strip	_ghb_can_shutdown_gsm
.subsections_via_symbols
