	.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_for_band
_fst_mbie_get_peer_addr_for_band:       ## @fst_mbie_get_peer_addr_for_band
	.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
	movq	%rsi, %r14
	movq	%rdi, %r15
	callq	_wpabuf_head
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_wpabuf_len
	cmpq	$2, %rax
	jb	LBB0_9
## %bb.1:
	movq	_WLAN_EID_MULTI_BAND@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdx
	cmpq	%rcx, %rdx
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	8(%rbx), %rdx
	cmpq	$22, %rdx
	jb	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	-2(%rax), %rsi
	cmpq	%rdx, %rsi
	jb	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r14, 16(%rbx)
	je	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%rbx,%rdx,8), %rbx
	addq	$16, %rbx
	addq	$2, %rdx
	subq	%rdx, %rax
	cmpq	$1, %rax
	ja	LBB0_2
LBB0_9:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdx
LBB0_10:
	callq	_fst_printf
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_10
LBB0_6:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_10
LBB0_11:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fst_mbie_get_peer_addr         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_WLAN_EID_MULTI_BAND,8,3        ## @WLAN_EID_MULTI_BAND
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unexpected eid %d"

L_.str.1:                               ## @.str.1
	.asciz	"invalid mbie len %d"

L_.str.2:                               ## @.str.2
	.asciz	"mbie doesn't contain band %d"

	.no_dead_strip	_fst_mbie_get_peer_addr_for_band
.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_for_band
_fst_mbie_get_peer_addr_for_band:       ; @fst_mbie_get_peer_addr_for_band
	.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	_wpabuf_head
	mov	x20, x0
	mov	x0, x21
	bl	_wpabuf_len
	cmp	x0, #2
	b.lo	LBB0_6
; %bb.1:
Lloh0:
	adrp	x8, _WLAN_EID_MULTI_BAND@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WLAN_EID_MULTI_BAND@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x2, [x20]
	cmp	x2, x8
	b.ne	LBB0_8
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldrsw	x2, [x20, #8]
	sub	x9, x0, #2
	cmp	w2, #22
	ccmp	x9, x2, #0, hs
	b.lo	LBB0_9
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x9, [x20, #16]
	cmp	x9, x19
	b.eq	LBB0_10
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w9, w2, #2
	add	x20, x20, w9, sxtw #3
	sub	x0, x0, w9, sxtw
	cmp	x0, #1
	b.hi	LBB0_2
LBB0_6:
Lloh3:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x19
LBB0_7:
	bl	_fst_printf
	mov	x0, #0
	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
LBB0_8:
Lloh8:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_7
LBB0_9:
Lloh13:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_7
LBB0_10:
	mov	x0, x20
	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
	b	_fst_mbie_get_peer_addr
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_WLAN_EID_MULTI_BAND,8,3        ; @WLAN_EID_MULTI_BAND
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unexpected eid %d"

l_.str.1:                               ; @.str.1
	.asciz	"invalid mbie len %d"

l_.str.2:                               ; @.str.2
	.asciz	"mbie doesn't contain band %d"

	.no_dead_strip	_fst_mbie_get_peer_addr_for_band
.subsections_via_symbols
