	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ghb_get_session_dbus_proxy
_ghb_get_session_dbus_proxy:            ## @ghb_get_session_dbus_proxy
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	$0, -40(%rbp)
	leaq	L_.str(%rip), %rdi
	callq	_g_debug
	movq	_G_BUS_TYPE_SESSION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-40(%rbp), %rdx
	xorl	%esi, %esi
	callq	_g_bus_get_sync
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %rbx
	movq	_G_DBUS_PROXY_FLAGS_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rsp)
	movq	%rbx, %rdi
	xorl	%edx, %edx
	movq	%r15, %rcx
	movq	%r12, %r8
	movq	%r14, %r9
	callq	_g_dbus_proxy_new_sync
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	leaq	L_.str.2(%rip), %rdi
	movq	%r15, %rsi
	callq	_g_warning
LBB0_3:
	movq	%rbx, %rdi
	callq	_g_object_unref
	jmp	LBB0_7
LBB0_4:
	movq	-40(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	(%rax), %rsi
	leaq	L_.str.1(%rip), %rdi
	callq	_g_warning
	movq	-40(%rbp), %rdi
	callq	_g_error_free
LBB0_6:
	xorl	%r14d, %r14d
LBB0_7:
	movq	%r14, %rax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ghb_get_session_dbus_proxy()"

	.comm	_G_BUS_TYPE_SESSION,4,2         ## @G_BUS_TYPE_SESSION
L_.str.1:                               ## @.str.1
	.asciz	"DBUS cannot connect: %s"

	.comm	_G_DBUS_PROXY_FLAGS_NONE,4,2    ## @G_DBUS_PROXY_FLAGS_NONE
L_.str.2:                               ## @.str.2
	.asciz	"Could not get DBUS proxy: %s"

	.no_dead_strip	_ghb_get_session_dbus_proxy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ghb_get_session_dbus_proxy
_ghb_get_session_dbus_proxy:            ; @ghb_get_session_dbus_proxy
	.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
	mov	x20, x2
	mov	x22, x1
	mov	x19, x0
	str	xzr, [sp, #8]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_g_debug
Lloh2:
	adrp	x8, _G_BUS_TYPE_SESSION@GOTPAGE
Lloh3:
	ldr	x8, [x8, _G_BUS_TYPE_SESSION@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	add	x2, sp, #8
	mov	x1, #0
	bl	_g_bus_get_sync
	cbz	x0, LBB0_4
; %bb.1:
	mov	x21, x0
Lloh5:
	adrp	x8, _G_DBUS_PROXY_FLAGS_NONE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _G_DBUS_PROXY_FLAGS_NONE@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x2, #0
	mov	x3, x19
	mov	x4, x22
	mov	x5, x20
	mov	x6, #0
	mov	x7, #0
	bl	_g_dbus_proxy_new_sync
	mov	x20, x0
	cbnz	x0, LBB0_3
; %bb.2:
Lloh8:
	adrp	x0, l_.str.2@PAGE
Lloh9:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x19
	bl	_g_warning
LBB0_3:
	mov	x0, x21
	bl	_g_object_unref
	b	LBB0_7
LBB0_4:
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_6
; %bb.5:
	ldr	x1, [x8]
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_g_warning
	ldr	x0, [sp, #8]
	bl	_g_error_free
LBB0_6:
	mov	x20, #0
LBB0_7:
	mov	x0, x20
	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	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ghb_get_session_dbus_proxy()"

	.comm	_G_BUS_TYPE_SESSION,4,2         ; @G_BUS_TYPE_SESSION
l_.str.1:                               ; @.str.1
	.asciz	"DBUS cannot connect: %s"

	.comm	_G_DBUS_PROXY_FLAGS_NONE,4,2    ; @G_DBUS_PROXY_FLAGS_NONE
l_.str.2:                               ; @.str.2
	.asciz	"Could not get DBUS proxy: %s"

	.no_dead_strip	_ghb_get_session_dbus_proxy
.subsections_via_symbols
