	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbo_ap_check_sta_assoc         ## -- Begin function mbo_ap_check_sta_assoc
	.p2align	4, 0x90
_mbo_ap_check_sta_assoc:                ## @mbo_ap_check_sta_assoc
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	cmpl	$0, (%rax)
	je	LBB0_11
## %bb.1:
	movq	(%rdx), %r15
	testq	%r15, %r15
	je	LBB0_11
## %bb.2:
	movq	%rsi, %r14
	addq	$16, %r15
	movslq	8(%rdx), %r12
	movq	%r12, %rbx
	addq	$-4, %rbx
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdx
	movq	%rbx, %rcx
	callq	_wpa_hexdump
	movq	_MBO_ATTR_ID_CELL_DATA_CAPA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_get_ie
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	cmpl	$0, 4(%rax)
	jle	LBB0_5
## %bb.4:
	movl	8(%rax), %eax
	movl	%eax, (%r14)
LBB0_5:
	movq	%r14, %rdi
	callq	_mbo_ap_sta_free
	cmpl	$6, %r12d
	jl	LBB0_11
## %bb.6:
	leaq	(%r15,%rbx,4), %r12
	shlq	$2, %rbx
	movq	_MBO_ATTR_ID_NON_PREF_CHAN_REPORT@GOTPCREL(%rip), %r13
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	leaq	(%r15,%rax,4), %r15
	movq	%r12, %rbx
	subq	%r15, %rbx
	cmpq	$4, %rbx
	jle	LBB0_11
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	shrq	$2, %rbx
	movslq	4(%r15), %rdx
	leaq	2(%rdx), %rax
	cmpq	%rax, %rbx
	jl	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	(%r15), %ecx
	cmpl	(%r13), %ecx
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	leaq	8(%r15), %rsi
	movq	%r14, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_mbo_ap_parse_non_pref_chan
	movslq	4(%r15), %rax
	addq	$2, %rax
	jmp	LBB0_10
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MBO: Association Request attributes"

	.comm	_MBO_ATTR_ID_CELL_DATA_CAPA,4,2 ## @MBO_ATTR_ID_CELL_DATA_CAPA
	.comm	_MBO_ATTR_ID_NON_PREF_CHAN_REPORT,4,2 ## @MBO_ATTR_ID_NON_PREF_CHAN_REPORT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbo_ap_check_sta_assoc         ; -- Begin function mbo_ap_check_sta_assoc
	.p2align	2
_mbo_ap_check_sta_assoc:                ; @mbo_ap_check_sta_assoc
	.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
	ldr	x8, [x0]
	ldr	w8, [x8]
	cbz	w8, LBB0_11
; %bb.1:
	ldr	x8, [x2]
	cbz	x8, LBB0_11
; %bb.2:
	mov	x19, x1
	add	x20, x8, #16
	ldrsw	x22, [x2, #8]
	sub	x21, x22, #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
	mov	x2, x20
	mov	x3, x21
	bl	_wpa_hexdump
Lloh5:
	adrp	x8, _MBO_ATTR_ID_CELL_DATA_CAPA@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MBO_ATTR_ID_CELL_DATA_CAPA@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x21
	bl	_get_ie
	cbz	x0, LBB0_5
; %bb.3:
	ldr	w8, [x0, #4]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.4:
	ldr	w8, [x0, #8]
	str	w8, [x19]
LBB0_5:
	mov	x0, x19
	bl	_mbo_ap_sta_free
	cmp	w22, #6
	b.lt	LBB0_11
; %bb.6:
	lsl	x8, x21, #2
Lloh8:
	adrp	x22, _MBO_ATTR_ID_NON_PREF_CHAN_REPORT@GOTPAGE
Lloh9:
	ldr	x22, [x22, _MBO_ATTR_ID_NON_PREF_CHAN_REPORT@GOTPAGEOFF]
	add	x21, x20, x21, lsl #2
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x20, x20, x9, lsl #2
	sub	x8, x21, x20
	cmp	x8, #4
	b.le	LBB0_11
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldrsw	x2, [x20, #4]
	add	x9, x2, #2
	cmp	x9, x8, lsr #2
	b.gt	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [x20]
	ldr	w10, [x22]
	cmp	w8, w10
	b.ne	LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	add	x1, x20, #8
	mov	x0, x19
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_mbo_ap_parse_non_pref_chan
	ldrsw	x8, [x20, #4]
	add	x9, x8, #2
	b	LBB0_7
LBB0_11:
	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	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MBO: Association Request attributes"

	.comm	_MBO_ATTR_ID_CELL_DATA_CAPA,4,2 ; @MBO_ATTR_ID_CELL_DATA_CAPA
	.comm	_MBO_ATTR_ID_NON_PREF_CHAN_REPORT,4,2 ; @MBO_ATTR_ID_NON_PREF_CHAN_REPORT
.subsections_via_symbols
