	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mwifiex_ret_chan_region_cfg
_mwifiex_ret_chan_region_cfg:           ## @mwifiex_ret_chan_region_cfg
	.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	%rsi, %r12
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movl	4(%rsi), %edi
	callq	_le16_to_cpu
	movq	_HostCmd_ACT_GEN_GET@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.1:
	movl	(%r12), %edi
	callq	_le16_to_cpu
	movq	_S_DS_GEN@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	negq	%rcx
	leaq	(%rax,%rcx), %r15
	addq	$-4, %r15
	cmpq	$8, %r15
	jb	LBB0_8
## %bb.2:
	addq	$4, %r12
	addq	$16, %r12
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	leaq	(%r12,%r14,4), %r12
	cmpq	$7, %r15
	jbe	LBB0_8
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%r12), %edi
	callq	_le16_to_cpu
	movq	%rax, %rbx
	movl	(%r12), %edi
	callq	_le16_to_cpu
	leaq	8(%rax), %r14
	subq	%r14, %r15
	jb	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$128, %rbx
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %r13
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
	movq	_CMD_D@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	32(%r12), %rbx
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rcx
	movq	%r13, %r8
	callq	_mwifiex_dbg_dump
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	%r13, %rdx
	callq	_mwifiex_create_custom_regdomain
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	%rbx, (%rax)
	jmp	LBB0_7
LBB0_8:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HostCmd_ACT_GEN_GET,8,3        ## @HostCmd_ACT_GEN_GET
	.comm	_S_DS_GEN,8,3                   ## @S_DS_GEN
	.comm	_CMD_D,4,2                      ## @CMD_D
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CHAN:"

	.no_dead_strip	_mwifiex_ret_chan_region_cfg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mwifiex_ret_chan_region_cfg
_mwifiex_ret_chan_region_cfg:           ; @mwifiex_ret_chan_region_cfg
	.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	x20, x1
	mov	x19, x0
	mov	x21, x1
	ldr	w0, [x21, #4]!
	bl	_le16_to_cpu
Lloh0:
	adrp	x8, _HostCmd_ACT_GEN_GET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HostCmd_ACT_GEN_GET@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_8
; %bb.1:
	ldr	w0, [x20]
	bl	_le16_to_cpu
Lloh3:
	adrp	x8, _S_DS_GEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _S_DS_GEN@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	sub	x8, x0, x8
	sub	x23, x8, #4
	cmp	x23, #8
	b.lo	LBB0_8
; %bb.2:
	add	x24, x21, #16
Lloh6:
	adrp	x25, _CMD_D@GOTPAGE
Lloh7:
	ldr	x25, [x25, _CMD_D@GOTPAGEOFF]
Lloh8:
	adrp	x20, l_.str@PAGE
Lloh9:
	add	x20, x20, l_.str@PAGEOFF
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x24, x24, x26, lsl #2
	cmp	x23, #7
	b.ls	LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x24, #4]
	bl	_le16_to_cpu
	mov	x22, x0
	ldr	w0, [x24]
	bl	_le16_to_cpu
	add	x26, x0, #8
	subs	x23, x23, x26
	b.lo	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	x22, #128
	b.ne	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x21, x0
	ldr	x0, [x19]
	ldr	w1, [x25]
	add	x22, x24, #32
	mov	x2, x20
	mov	x3, x22
	mov	x4, x21
	bl	_mwifiex_dbg_dump
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_mwifiex_create_custom_regdomain
	mov	x21, x0
	bl	_IS_ERR
	cbnz	w0, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19]
	str	x21, [x8]
	b	LBB0_3
LBB0_8:
	mov	w0, #0
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_HostCmd_ACT_GEN_GET,8,3        ; @HostCmd_ACT_GEN_GET
	.comm	_S_DS_GEN,8,3                   ; @S_DS_GEN
	.comm	_CMD_D,4,2                      ; @CMD_D
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CHAN:"

	.no_dead_strip	_mwifiex_ret_chan_region_cfg
.subsections_via_symbols
