	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wil_cfg80211_update_ft_ies
_wil_cfg80211_update_ft_ies:            ## @wil_cfg80211_update_ft_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	%rdx, %r12
	movq	%rsi, %rbx
	callq	_wiphy_to_wil
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_ndev_to_vif
	movq	%rax, %r15
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_wil_dbg_misc
	movq	_DUMP_PREFIX_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %r8d
	movl	4(%r12), %r9d
	movl	$1, (%rsp)
	leaq	L_.str.1(%rip), %rdi
	movl	$16, %edx
	movl	$1, %ecx
	callq	_wil_hex_dump_misc
	movq	_WMI_FW_CAPABILITY_FT_ROAMING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %esi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_6
## %bb.1:
	movl	(%r12), %edx
	movl	4(%r12), %esi
	movq	%r15, %rdi
	callq	_wmi_update_ft_ies
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_8
## %bb.2:
	movq	_wil_vif_ft_roam@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	16(%r15), %esi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_9
## %bb.3:
	movq	8(%r15), %r13
	testq	%r13, %r13
	je	LBB0_10
## %bb.4:
	leaq	-48(%rbp), %r12
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	-48(%rbp), %edi
	movl	(%r13), %esi
	callq	_ether_addr_copy
	movq	_WMI_FT_REASSOC_CMDID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %edx
	movq	%r14, %rdi
	movq	%r12, %rcx
	movl	$4, %r8d
	callq	_wmi_send
	testl	%eax, %eax
	je	LBB0_8
## %bb.5:
	movl	%eax, %r15d
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_wil_err
	movl	%r15d, %ebx
	jmp	LBB0_8
LBB0_6:
	leaq	L_.str.2(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_wil_err
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
LBB0_7:
	subl	(%rax), %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	xorl	%ebx, %ebx
	jmp	LBB0_8
LBB0_10:
	leaq	L_.str.3(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_wil_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"update ft ies, mid=%d\n"

L_.str.1:                               ## @.str.1
	.asciz	"FT IE "

	.comm	_DUMP_PREFIX_OFFSET,4,2         ## @DUMP_PREFIX_OFFSET
	.comm	_WMI_FW_CAPABILITY_FT_ROAMING,4,2 ## @WMI_FW_CAPABILITY_FT_ROAMING
L_.str.2:                               ## @.str.2
	.asciz	"FW does not support FT roaming\n"

	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_wil_vif_ft_roam,4,2            ## @wil_vif_ft_roam
L_.str.3:                               ## @.str.3
	.asciz	"FT: bss is NULL\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_WMI_FT_REASSOC_CMDID,4,2       ## @WMI_FT_REASSOC_CMDID
L_.str.4:                               ## @.str.4
	.asciz	"FT: reassoc failed (%d)\n"

	.no_dead_strip	_wil_cfg80211_update_ft_ies
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wil_cfg80211_update_ft_ies
_wil_cfg80211_update_ft_ies:            ; @wil_cfg80211_update_ft_ies
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x21, x2
	mov	x20, x1
	bl	_wiphy_to_wil
	mov	x19, x0
	mov	x0, x20
	bl	_ndev_to_vif
	mov	x20, x0
	ldr	w2, [x0]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_wil_dbg_misc
Lloh2:
	adrp	x8, _DUMP_PREFIX_OFFSET@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DUMP_PREFIX_OFFSET@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	ldp	w4, w5, [x21]
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	w2, #16
	mov	w3, #1
	mov	w6, #1
	bl	_wil_hex_dump_misc
Lloh7:
	adrp	x8, _WMI_FW_CAPABILITY_FT_ROAMING@GOTPAGE
Lloh8:
	ldr	x8, [x8, _WMI_FW_CAPABILITY_FT_ROAMING@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	_test_bit
	cbz	w0, LBB0_6
; %bb.1:
	ldp	w2, w1, [x21]
	mov	x0, x20
	bl	_wmi_update_ft_ies
	mov	x21, x0
	cbnz	w0, LBB0_8
; %bb.2:
Lloh10:
	adrp	x8, _wil_vif_ft_roam@GOTPAGE
Lloh11:
	ldr	x8, [x8, _wil_vif_ft_roam@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	ldr	w1, [x20, #16]
	bl	_test_bit
	cbz	w0, LBB0_9
; %bb.3:
	ldr	x21, [x20, #8]
	cbz	x21, LBB0_10
; %bb.4:
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	w0, [sp, #8]
	ldr	w1, [x21]
	bl	_ether_addr_copy
Lloh13:
	adrp	x8, _WMI_FT_REASSOC_CMDID@GOTPAGE
Lloh14:
	ldr	x8, [x8, _WMI_FT_REASSOC_CMDID@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	ldr	w2, [x20]
	add	x3, sp, #8
	mov	x0, x19
	mov	w4, #4
	bl	_wmi_send
	mov	x21, x0
	cbz	w0, LBB0_8
; %bb.5:
	str	x21, [sp]
Lloh16:
	adrp	x1, l_.str.4@PAGE
Lloh17:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_wil_err
	b	LBB0_8
LBB0_6:
Lloh18:
	adrp	x1, l_.str.2@PAGE
Lloh19:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_wil_err
Lloh20:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh21:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_8:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_9:
	mov	w21, #0
	b	LBB0_8
LBB0_10:
Lloh22:
	adrp	x1, l_.str.3@PAGE
Lloh23:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_wil_err
Lloh24:
	adrp	x8, _EINVAL@GOTPAGE
Lloh25:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"update ft ies, mid=%d\n"

l_.str.1:                               ; @.str.1
	.asciz	"FT IE "

	.comm	_DUMP_PREFIX_OFFSET,4,2         ; @DUMP_PREFIX_OFFSET
	.comm	_WMI_FW_CAPABILITY_FT_ROAMING,4,2 ; @WMI_FW_CAPABILITY_FT_ROAMING
l_.str.2:                               ; @.str.2
	.asciz	"FW does not support FT roaming\n"

	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_wil_vif_ft_roam,4,2            ; @wil_vif_ft_roam
l_.str.3:                               ; @.str.3
	.asciz	"FT: bss is NULL\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_WMI_FT_REASSOC_CMDID,4,2       ; @WMI_FT_REASSOC_CMDID
l_.str.4:                               ; @.str.4
	.asciz	"FT: reassoc failed (%d)\n"

	.no_dead_strip	_wil_cfg80211_update_ft_ies
.subsections_via_symbols
