	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpas_dbus_getter_p2p_peer_level ## -- Begin function wpas_dbus_getter_p2p_peer_level
	.p2align	4, 0x90
_wpas_dbus_getter_p2p_peer_level:       ## @wpas_dbus_getter_p2p_peer_level
	.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
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	8(%rcx), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	movl	(%rcx), %esi
	xorl	%edx, %edx
	callq	_p2p_get_peer_found
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_DBUS_TYPE_INT32@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rbx, %rdi
	movq	%rax, %rdx
	movq	%r14, %rcx
	callq	_wpas_dbus_simple_property_getter
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movq	_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_1:
	movq	_DBUS_ERROR_FAILED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	callq	_dbus_set_error
	jmp	LBB0_5
LBB0_4:
	movq	_DBUS_ERROR_NO_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	callq	_dbus_set_error_const
LBB0_5:
	movq	_FALSE@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DBUS_ERROR_FAILED,4,2          ## @DBUS_ERROR_FAILED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to find peer"

	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_DBUS_TYPE_INT32,4,2            ## @DBUS_TYPE_INT32
	.comm	_DBUS_ERROR_NO_MEMORY,4,2       ## @DBUS_ERROR_NO_MEMORY
L_.str.1:                               ## @.str.1
	.asciz	"no memory"

	.comm	_TRUE,4,2                       ## @TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpas_dbus_getter_p2p_peer_level ; -- Begin function wpas_dbus_getter_p2p_peer_level
	.p2align	2
_wpas_dbus_getter_p2p_peer_level:       ; @wpas_dbus_getter_p2p_peer_level
	.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
	mov	x19, x2
	mov	x20, x1
	ldr	x8, [x3, #8]
	ldr	x8, [x8]
	ldr	w0, [x8]
	ldr	w1, [x3]
	mov	w2, #0
	bl	_p2p_get_peer_found
	cbz	x0, LBB0_3
; %bb.1:
	mov	x2, x0
Lloh0:
	adrp	x8, _DBUS_TYPE_INT32@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DBUS_TYPE_INT32@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x3, x19
	bl	_wpas_dbus_simple_property_getter
	cbz	w0, LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _TRUE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_6
LBB0_3:
Lloh5:
	adrp	x8, _DBUS_ERROR_FAILED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DBUS_ERROR_FAILED@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x2, l_.str@PAGE
Lloh9:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dbus_set_error
	b	LBB0_5
LBB0_4:
Lloh10:
	adrp	x8, _DBUS_ERROR_NO_MEMORY@GOTPAGE
Lloh11:
	ldr	x8, [x8, _DBUS_ERROR_NO_MEMORY@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
Lloh13:
	adrp	x2, l_.str.1@PAGE
Lloh14:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dbus_set_error_const
LBB0_5:
Lloh15:
	adrp	x8, _FALSE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_DBUS_ERROR_FAILED,4,2          ; @DBUS_ERROR_FAILED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to find peer"

	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_DBUS_TYPE_INT32,4,2            ; @DBUS_TYPE_INT32
	.comm	_DBUS_ERROR_NO_MEMORY,4,2       ; @DBUS_ERROR_NO_MEMORY
l_.str.1:                               ; @.str.1
	.asciz	"no memory"

	.comm	_TRUE,4,2                       ; @TRUE
.subsections_via_symbols
