	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function brcmf_get_assoc_ies
_brcmf_get_assoc_ies:                   ## @brcmf_get_assoc_ies
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	8(%rdi), %r15
	callq	_cfg_to_conn
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_brcmf_clear_assoc_ies
	movq	(%rbx), %rdx
	movq	_WL_ASSOC_INFO_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_brcmf_fil_iovar_data_get
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %r13
	leaq	L_.str.1(%rip), %rsi
LBB0_2:
	movq	%r15, %rdi
	movq	%r13, %rdx
	callq	_bphy_err
LBB0_18:
	movq	%r13, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %r13
	movl	4(%r13), %edi
	callq	_le32_to_cpu
	movq	%rax, %r14
	movl	(%r13), %edi
	callq	_le32_to_cpu
	testq	%r14, %r14
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_8
## %bb.4:
	movq	(%rbx), %rdx
	movq	_WL_ASSOC_INFO_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	callq	_brcmf_fil_iovar_data_get
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%rax, %r13
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_2
LBB0_8:
	movq	%rax, %rcx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	$0, 8(%r14)
	movq	$0, 24(%r14)
	movq	_WL_ASSOC_INFO_MAX@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_6:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%r14, 8(%rcx)
	movq	(%rbx), %rdi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rsi
	movq	%rcx, %r14
	callq	_kmemdup
	movq	%rax, 24(%r14)
	testq	%rax, %rax
	movq	_WL_ASSOC_INFO_MAX@GOTPCREL(%rip), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	jne	LBB0_9
## %bb.7:
	movq	$0, 8(%r14)
LBB0_9:
	testq	%rcx, %rcx
	je	LBB0_15
## %bb.10:
	movq	(%rbx), %rdx
	movl	(%rax), %ecx
	leaq	L_.str.4(%rip), %rsi
	movq	%r12, %rdi
	callq	_brcmf_fil_iovar_data_get
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movq	%rax, %r13
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_2
LBB0_15:
	movq	$0, (%r14)
	movq	$0, 16(%r14)
	jmp	LBB0_16
LBB0_12:
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%rsi, (%r14)
	movq	(%rbx), %rdi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_kmemdup
	movq	%rax, 16(%r14)
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movq	(%r14), %rcx
	jmp	LBB0_17
LBB0_14:
	movq	$0, (%r14)
LBB0_16:
	xorl	%ecx, %ecx
LBB0_17:
	movq	_CONN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%r14), %rdx
	leaq	L_.str.6(%rip), %rsi
	callq	_brcmf_dbg
	xorl	%r13d, %r13d
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"assoc_info"

	.comm	_WL_ASSOC_INFO_MAX,4,2          ## @WL_ASSOC_INFO_MAX
L_.str.1:                               ## @.str.1
	.asciz	"could not get assoc info (%d)\n"

L_.str.2:                               ## @.str.2
	.asciz	"assoc_req_ies"

L_.str.3:                               ## @.str.3
	.asciz	"could not get assoc req (%d)\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
L_.str.4:                               ## @.str.4
	.asciz	"assoc_resp_ies"

L_.str.5:                               ## @.str.5
	.asciz	"could not get assoc resp (%d)\n"

	.comm	_CONN,4,2                       ## @CONN
L_.str.6:                               ## @.str.6
	.asciz	"req len (%d) resp len (%d)\n"

	.no_dead_strip	_brcmf_get_assoc_ies
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function brcmf_get_assoc_ies
_brcmf_get_assoc_ies:                   ; @brcmf_get_assoc_ies
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x1
	mov	x21, x0
	ldr	x20, [x0, #8]
	bl	_cfg_to_conn
	mov	x19, x0
	mov	x0, x21
	bl	_brcmf_clear_assoc_ies
	ldr	x2, [x21]
Lloh0:
	adrp	x26, _WL_ASSOC_INFO_MAX@GOTPAGE
Lloh1:
	ldr	x26, [x26, _WL_ASSOC_INFO_MAX@GOTPAGEOFF]
	ldr	w3, [x26]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	bl	_brcmf_fil_iovar_data_get
	cbz	x0, LBB0_4
; %bb.1:
	mov	x24, x0
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_2:
	mov	x0, x20
	mov	x2, x24
	bl	_bphy_err
LBB0_3:
	mov	x0, x24
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_4:
	ldr	x23, [x21]
	ldr	w0, [x23, #4]
	bl	_le32_to_cpu
	mov	x25, x0
	ldr	w0, [x23]
	bl	_le32_to_cpu
	mov	x23, x0
	cbz	x25, LBB0_7
; %bb.5:
	ldr	x2, [x21]
	ldr	w3, [x26]
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x22
	bl	_brcmf_fil_iovar_data_get
	cbz	x0, LBB0_8
; %bb.6:
	mov	x24, x0
Lloh8:
	adrp	x1, l_.str.3@PAGE
Lloh9:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_2
LBB0_7:
	str	xzr, [x19, #8]
	str	xzr, [x19, #24]
	b	LBB0_10
LBB0_8:
	str	x25, [x19, #8]
	ldr	x0, [x21]
Lloh10:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	mov	x1, x25
	bl	_kmemdup
	str	x0, [x19, #24]
	cbnz	x0, LBB0_10
; %bb.9:
	str	xzr, [x19, #8]
LBB0_10:
	cbz	x23, LBB0_13
; %bb.11:
	ldr	x2, [x21]
	ldr	w3, [x26]
Lloh13:
	adrp	x1, l_.str.4@PAGE
Lloh14:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x22
	bl	_brcmf_fil_iovar_data_get
	cbz	x0, LBB0_14
; %bb.12:
	mov	x24, x0
Lloh15:
	adrp	x1, l_.str.5@PAGE
Lloh16:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_2
LBB0_13:
	mov	x3, #0
	str	xzr, [x19]
	str	xzr, [x19, #16]
	b	LBB0_17
LBB0_14:
	str	x23, [x19]
	ldr	x0, [x21]
Lloh17:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	mov	x1, x23
	bl	_kmemdup
	str	x0, [x19, #16]
	cbz	x0, LBB0_16
; %bb.15:
	ldr	x3, [x19]
	b	LBB0_17
LBB0_16:
	mov	x3, #0
	str	xzr, [x19]
LBB0_17:
Lloh20:
	adrp	x8, _CONN@GOTPAGE
Lloh21:
	ldr	x8, [x8, _CONN@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	ldr	x2, [x19, #8]
Lloh23:
	adrp	x1, l_.str.6@PAGE
Lloh24:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_brcmf_dbg
	mov	x24, #0
	b	LBB0_3
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"assoc_info"

	.comm	_WL_ASSOC_INFO_MAX,4,2          ; @WL_ASSOC_INFO_MAX
l_.str.1:                               ; @.str.1
	.asciz	"could not get assoc info (%d)\n"

l_.str.2:                               ; @.str.2
	.asciz	"assoc_req_ies"

l_.str.3:                               ; @.str.3
	.asciz	"could not get assoc req (%d)\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
l_.str.4:                               ; @.str.4
	.asciz	"assoc_resp_ies"

l_.str.5:                               ; @.str.5
	.asciz	"could not get assoc resp (%d)\n"

	.comm	_CONN,4,2                       ; @CONN
l_.str.6:                               ; @.str.6
	.asciz	"req len (%d) resp len (%d)\n"

	.no_dead_strip	_brcmf_get_assoc_ies
.subsections_via_symbols
