	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fst_mbie_get_peer_addr
_fst_mbie_get_peer_addr:                ## @fst_mbie_get_peer_addr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	callq	_MB_CTRL_ROLE
	cmpl	$128, %eax
	je	LBB0_3
## %bb.1:
	cmpl	$129, %eax
	jne	LBB0_6
## %bb.2:
	movq	8(%rbx), %rax
	jmp	LBB0_7
LBB0_3:
	movq	_MB_CTRL_STA_MAC_PRESENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_6
## %bb.4:
	movslq	4(%rbx), %rcx
	addq	$2, %rcx
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movslq	(%rax), %rdx
	addq	$16, %rdx
	addq	$16, %rbx
	xorl	%eax, %eax
	cmpq	%rdx, %rcx
	cmovaeq	%rbx, %rax
	jmp	LBB0_7
LBB0_6:
	xorl	%eax, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MB_CTRL_STA_MAC_PRESENT,4,2    ## @MB_CTRL_STA_MAC_PRESENT
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.no_dead_strip	_fst_mbie_get_peer_addr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fst_mbie_get_peer_addr
_fst_mbie_get_peer_addr:                ; @fst_mbie_get_peer_addr
	.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, x0
	ldr	w0, [x0]
	bl	_MB_CTRL_ROLE
	cmp	w0, #128
	b.eq	LBB0_3
; %bb.1:
	cmp	w0, #129
	b.ne	LBB0_5
; %bb.2:
	ldr	x0, [x19, #8]
	b	LBB0_6
LBB0_3:
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _MB_CTRL_STA_MAC_PRESENT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MB_CTRL_STA_MAC_PRESENT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.4:
	ldrsw	x8, [x19, #4]
Lloh3:
	adrp	x9, _ETH_ALEN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ETH_ALEN@GOTPAGEOFF]
	add	x8, x8, #2
Lloh5:
	ldrsw	x9, [x9]
	add	x9, x9, #16
	add	x10, x19, #16
	cmp	x8, x9
	csel	x0, xzr, x10, lo
	b	LBB0_6
LBB0_5:
	mov	x0, #0
LBB0_6:
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MB_CTRL_STA_MAC_PRESENT,4,2    ; @MB_CTRL_STA_MAC_PRESENT
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.no_dead_strip	_fst_mbie_get_peer_addr
.subsections_via_symbols
