	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_phonet_address_get             ## -- Begin function phonet_address_get
	.p2align	4, 0x90
_phonet_address_get:                    ## @phonet_address_get
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %rbx
	callq	_dev_net
	movl	%eax, %edi
	callq	_phonet_device_list
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_spin_lock_bh
	movq	%rbx, %rdi
	callq	___phonet_get
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %rbx
	movl	(%rax), %edi
	movl	$64, %esi
	callq	_bitmap_empty
	movl	%eax, %edi
	callq	_BUG_ON
	movl	%r15d, %edi
	sarl	$2, %edi
	movl	(%rbx), %esi
	callq	_test_bit
	testl	%eax, %eax
	jne	LBB0_4
## %bb.2:
	movl	(%rbx), %edi
	movl	$64, %esi
	callq	_find_first_bit
	movl	%eax, %r15d
	shll	$2, %r15d
	jmp	LBB0_4
LBB0_3:
	movq	_PN_NO_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_4:
	movq	%r14, %rdi
	callq	_spin_unlock_bh
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PN_NO_ADDR,4,2                 ## @PN_NO_ADDR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_phonet_address_get             ; -- Begin function phonet_address_get
	.p2align	2
_phonet_address_get:                    ; @phonet_address_get
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x21, x0
	bl	_dev_net
	bl	_phonet_device_list
	mov	x20, x0
	bl	_spin_lock_bh
	mov	x0, x21
	bl	___phonet_get
	cbz	x0, LBB0_3
; %bb.1:
	mov	x21, x0
	ldr	w0, [x0]
	mov	w1, #64
	bl	_bitmap_empty
	bl	_BUG_ON
	asr	w0, w19, #2
	ldr	w1, [x21]
	bl	_test_bit
	cbnz	w0, LBB0_4
; %bb.2:
	ldr	w0, [x21]
	mov	w1, #64
	bl	_find_first_bit
	lsl	w19, w0, #2
	b	LBB0_4
LBB0_3:
Lloh0:
	adrp	x8, _PN_NO_ADDR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PN_NO_ADDR@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
LBB0_4:
	mov	x0, x20
	bl	_spin_unlock_bh
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PN_NO_ADDR,4,2                 ; @PN_NO_ADDR
.subsections_via_symbols
