	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpas_dbus_unregister_interface ## -- Begin function wpas_dbus_unregister_interface
	.p2align	4, 0x90
_wpas_dbus_unregister_interface:        ## @wpas_dbus_unregister_interface
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	xorl	%eax, %eax
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.1:
	movq	%rdi, %rbx
	movq	16(%rdi), %rcx
	testq	%rcx, %rcx
	je	LBB0_6
## %bb.2:
	movq	(%rcx), %r14
	testq	%r14, %r14
	je	LBB0_6
## %bb.3:
	movq	(%rbx), %rdx
	testq	%rdx, %rdx
	je	LBB0_6
## %bb.4:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	movq	(%rbx), %rsi
	movq	%r14, %rdi
	callq	_wpa_dbus_unregister_object_per_iface
	movq	%rax, %rcx
	movl	$-1, %eax
	testq	%rcx, %rcx
	jne	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	callq	_wpas_dbus_signal_interface_removed
	movq	(%rbx), %rdi
	callq	_os_free
	movq	$0, (%rbx)
	xorl	%eax, %eax
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dbus: Unregister interface object '%s'"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpas_dbus_unregister_interface ; -- Begin function wpas_dbus_unregister_interface
	.p2align	2
_wpas_dbus_unregister_interface:        ; @wpas_dbus_unregister_interface
	.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
	cbz	x0, LBB0_7
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_6
; %bb.2:
	ldr	x20, [x8]
	cbz	x20, LBB0_6
; %bb.3:
	ldr	x2, [x19]
	cbz	x2, LBB0_6
; %bb.4:
Lloh0:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	ldr	x1, [x19]
	mov	x0, x20
	bl	_wpa_dbus_unregister_object_per_iface
	cbz	x0, LBB0_8
; %bb.5:
	mov	w0, #-1
	b	LBB0_7
LBB0_6:
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_8:
	mov	x0, x19
	bl	_wpas_dbus_signal_interface_removed
	ldr	x0, [x19]
	bl	_os_free
	mov	w0, #0
	str	xzr, [x19]
	b	LBB0_7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dbus: Unregister interface object '%s'"

.subsections_via_symbols
