	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mwifiex_send_domain_info_cmd_fw ## -- Begin function mwifiex_send_domain_info_cmd_fw
	.p2align	4, 0x90
_mwifiex_send_domain_info_cmd_fw:       ## @mwifiex_send_domain_info_cmd_fw
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_mwifiex_cfg80211_get_adapter
	movq	%rax, %r15
	movq	(%rax), %rax
	movq	16(%r15), %rcx
	movb	(%rax), %al
	movb	%al, (%rcx)
	movq	(%r15), %rax
	movq	16(%r15), %rcx
	movb	1(%rax), %al
	movb	%al, 1(%rcx)
	movq	16(%r15), %rax
	movb	$32, 2(%rax)
	movl	8(%r15), %edi
	callq	_mwifiex_band_to_radio_type
	movq	(%rbx), %rcx
	movl	%eax, %eax
	movq	(%rcx,%rax,8), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	(%rax), %rcx
	xorl	%r14d, %r14d
	testq	%rcx, %rcx
	je	LBB0_3
## %bb.4:
	movq	8(%rax), %rdx
	movq	_IEEE80211_CHAN_DISABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	addq	$16, %rdx
	xorl	%r8d, %r8d
	xorl	%r11d, %r11d
	xorl	%r9d, %r9d
	xorl	%eax, %eax
	xorl	%edi, %edi
	xorl	%r10d, %r10d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%rax, %rbx
LBB0_14:                                ##   in Loop: Header=BB0_5 Depth=1
	addq	$24, %rdx
	movq	%rbx, %rax
	decq	%rcx
	je	LBB0_15
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	testl	%r12d, -16(%rdx)
	jne	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	-8(%rdx), %rbx
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	incq	%rax
	movq	(%rdx), %rsi
	cmpq	%rax, %rbx
	jne	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpq	%r10, %rsi
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	incq	%r11
	movl	$1, %edi
	jmp	LBB0_14
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	(%rdx), %r10
	movl	$1, %edi
	jmp	LBB0_13
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	32(%r15), %rax
	leaq	(%r8,%r8,2), %rdi
	movq	%r9, (%rax,%rdi,8)
	movq	%r11, 8(%rax,%rdi,8)
	movq	%r10, 16(%rax,%rdi,8)
	incq	%r8
	movl	$1, %edi
	movq	%rsi, %r10
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %r9
	movl	$1, %r11d
	jmp	LBB0_14
LBB0_15:
	testq	%rdi, %rdi
	je	LBB0_17
## %bb.16:
	movq	32(%r15), %rax
	leaq	(%r8,%r8,2), %rcx
	movq	%r9, (%rax,%rcx,8)
	movq	%r11, 8(%rax,%rcx,8)
	movq	%r10, 16(%rax,%rcx,8)
	incq	%r8
	jmp	LBB0_17
LBB0_1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_3:
	xorl	%r8d, %r8d
LBB0_17:
	movq	%r8, 24(%r15)
	movq	_MWIFIEX_BSS_ROLE_ANY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_mwifiex_get_priv
	movq	_HostCmd_CMD_802_11D_DOMAIN_INFO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_HostCmd_ACT_GEN_SET@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rax, %rdi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_mwifiex_send_cmd
	testq	%rax, %rax
	je	LBB0_20
## %bb.18:
	movq	_INFO@GOTPCREL(%rip), %rax
LBB0_19:
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rdi
	callq	_mwifiex_dbg
	movl	$-1, %r14d
LBB0_20:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"11D: setting domain info in FW\n"

	.comm	_IEEE80211_CHAN_DISABLED,4,2    ## @IEEE80211_CHAN_DISABLED
	.comm	_MWIFIEX_BSS_ROLE_ANY,4,2       ## @MWIFIEX_BSS_ROLE_ANY
	.comm	_HostCmd_CMD_802_11D_DOMAIN_INFO,4,2 ## @HostCmd_CMD_802_11D_DOMAIN_INFO
	.comm	_HostCmd_ACT_GEN_SET,4,2        ## @HostCmd_ACT_GEN_SET
	.comm	_INFO,4,2                       ## @INFO
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mwifiex_send_domain_info_cmd_fw ; -- Begin function mwifiex_send_domain_info_cmd_fw
	.p2align	2
_mwifiex_send_domain_info_cmd_fw:       ; @mwifiex_send_domain_info_cmd_fw
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
	bl	_mwifiex_cfg80211_get_adapter
	mov	x19, x0
	ldr	x8, [x0]
	ldrb	w8, [x8]
	ldr	x9, [x0, #16]
	strb	w8, [x9]
	ldr	x8, [x0]
	ldrb	w8, [x8, #1]
	ldr	x9, [x0, #16]
	strb	w8, [x9, #1]
	ldr	x8, [x0, #16]
	mov	w9, #32
	strb	w9, [x8, #2]
	ldr	w0, [x0, #8]
	bl	_mwifiex_band_to_radio_type
	ldr	x8, [x20]
	ldr	x11, [x8, w0, uxtw #3]
	cbz	x11, LBB0_14
; %bb.1:
	ldr	x10, [x11]
	cbz	x10, LBB0_15
; %bb.2:
	mov	x8, #0
	mov	x14, #0
	mov	x13, #0
	mov	x0, #0
	mov	x16, #0
	mov	x9, #0
	ldr	x12, [x11, #8]
Lloh0:
	adrp	x11, _IEEE80211_CHAN_DISABLED@GOTPAGE
Lloh1:
	ldr	x11, [x11, _IEEE80211_CHAN_DISABLED@GOTPAGEOFF]
Lloh2:
	ldr	w11, [x11]
	add	x12, x12, #16
	mov	w15, #24
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x17, x0
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x12, x12, #24
	mov	x0, x17
	subs	x10, x10, #1
	b.eq	LBB0_12
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w17, [x12, #-16]
	tst	w11, w17
	b.ne	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldur	x17, [x12, #-8]
	cbz	x16, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x0, x0, #1
	ldr	x16, [x12]
	cmp	x17, x0
	ccmp	x16, x9, #0, eq
	b.eq	LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x19, #32]
	madd	x0, x8, x15, x0
	add	x8, x8, #1
	stp	x13, x14, [x0]
	str	x9, [x0, #16]
	mov	x9, x16
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x12]
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w16, #1
	mov	x13, x17
	mov	w14, #1
	b	LBB0_4
LBB0_11:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x14, x14, #1
	mov	w16, #1
	b	LBB0_4
LBB0_12:
	cbz	x16, LBB0_16
; %bb.13:
	ldr	x10, [x19, #32]
	mov	w11, #24
	madd	x10, x8, x11, x10
	stp	x13, x14, [x10]
	str	x9, [x10, #16]
	add	x8, x8, #1
	b	LBB0_16
LBB0_14:
Lloh3:
	adrp	x8, _ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
	b	LBB0_18
LBB0_15:
	mov	x8, #0
LBB0_16:
	str	x8, [x19, #24]
Lloh5:
	adrp	x8, _MWIFIEX_BSS_ROLE_ANY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MWIFIEX_BSS_ROLE_ANY@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_mwifiex_get_priv
Lloh8:
	adrp	x8, _HostCmd_CMD_802_11D_DOMAIN_INFO@GOTPAGE
Lloh9:
	ldr	x8, [x8, _HostCmd_CMD_802_11D_DOMAIN_INFO@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x8, _HostCmd_ACT_GEN_SET@GOTPAGE
Lloh12:
	ldr	x8, [x8, _HostCmd_ACT_GEN_SET@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	w3, #0
	mov	x4, #0
	mov	w5, #0
	bl	_mwifiex_send_cmd
	cbz	x0, LBB0_19
; %bb.17:
Lloh14:
	adrp	x8, _INFO@GOTPAGE
Lloh15:
	ldr	x8, [x8, _INFO@GOTPAGEOFF]
LBB0_18:
	ldr	w1, [x8]
Lloh16:
	adrp	x2, l_.str@PAGE
Lloh17:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_mwifiex_dbg
	mov	w0, #-1
LBB0_19:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"11D: setting domain info in FW\n"

	.comm	_IEEE80211_CHAN_DISABLED,4,2    ; @IEEE80211_CHAN_DISABLED
	.comm	_MWIFIEX_BSS_ROLE_ANY,4,2       ; @MWIFIEX_BSS_ROLE_ANY
	.comm	_HostCmd_CMD_802_11D_DOMAIN_INFO,4,2 ; @HostCmd_CMD_802_11D_DOMAIN_INFO
	.comm	_HostCmd_ACT_GEN_SET,4,2        ; @HostCmd_ACT_GEN_SET
	.comm	_INFO,4,2                       ; @INFO
.subsections_via_symbols
