	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mwifiex_config_uap_11d         ## -- Begin function mwifiex_config_uap_11d
	.p2align	4, 0x90
_mwifiex_config_uap_11d:                ## @mwifiex_config_uap_11d
	.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
	movq	_WLAN_EID_COUNTRY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rsi), %edx
	movl	4(%rsi), %esi
	callq	_cfg80211_find_ie
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_ENABLE_11D@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -12(%rbp)
	movq	_HostCmd_CMD_802_11_SNMP_MIB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_HostCmd_ACT_GEN_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_DOT11D_I@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-12(%rbp), %r8
	movq	%rbx, %rdi
	movl	$1, %r9d
	callq	_mwifiex_send_cmd
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	(%rbx), %edi
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	callq	_mwifiex_dbg
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WLAN_EID_COUNTRY,4,2           ## @WLAN_EID_COUNTRY
	.comm	_ENABLE_11D,4,2                 ## @ENABLE_11D
	.comm	_HostCmd_CMD_802_11_SNMP_MIB,4,2 ## @HostCmd_CMD_802_11_SNMP_MIB
	.comm	_HostCmd_ACT_GEN_SET,4,2        ## @HostCmd_ACT_GEN_SET
	.comm	_DOT11D_I,4,2                   ## @DOT11D_I
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"11D: failed to enable 11D\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mwifiex_config_uap_11d         ; -- Begin function mwifiex_config_uap_11d
	.p2align	2
_mwifiex_config_uap_11d:                ; @mwifiex_config_uap_11d
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _WLAN_EID_COUNTRY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WLAN_EID_COUNTRY@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldp	w2, w8, [x1]
	mov	x1, x8
	bl	_cfg80211_find_ie
	cbz	x0, LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _ENABLE_11D@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENABLE_11D@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [sp, #12]
Lloh6:
	adrp	x8, _HostCmd_CMD_802_11_SNMP_MIB@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HostCmd_CMD_802_11_SNMP_MIB@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _HostCmd_ACT_GEN_SET@GOTPAGE
Lloh10:
	ldr	x8, [x8, _HostCmd_ACT_GEN_SET@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
Lloh12:
	adrp	x8, _DOT11D_I@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DOT11D_I@GOTPAGEOFF]
Lloh14:
	ldr	w3, [x8]
	add	x4, sp, #12
	mov	x0, x19
	mov	w5, #1
	bl	_mwifiex_send_cmd
	cbz	x0, LBB0_3
; %bb.2:
	ldr	w0, [x19]
Lloh15:
	adrp	x8, _ERROR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
Lloh18:
	adrp	x2, l_.str@PAGE
Lloh19:
	add	x2, x2, l_.str@PAGEOFF
	bl	_mwifiex_dbg
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_WLAN_EID_COUNTRY,4,2           ; @WLAN_EID_COUNTRY
	.comm	_ENABLE_11D,4,2                 ; @ENABLE_11D
	.comm	_HostCmd_CMD_802_11_SNMP_MIB,4,2 ; @HostCmd_CMD_802_11_SNMP_MIB
	.comm	_HostCmd_ACT_GEN_SET,4,2        ; @HostCmd_ACT_GEN_SET
	.comm	_DOT11D_I,4,2                   ; @DOT11D_I
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"11D: failed to enable 11D\n"

.subsections_via_symbols
