	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function carl9170_get_hw_dyn_params
_carl9170_get_hw_dyn_params:            ## @carl9170_get_hw_dyn_params
	.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
	movl	%esi, %r14d
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movl	(%rdi), %ebx
	movq	8(%rdi), %r15
	jmp	LBB0_3
LBB0_1:
	movl	$2412, %r15d                    ## imm = 0x96C
	xorl	%ebx, %ebx
LBB0_3:
	movq	_carl9170_phy_freq_params@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	xorl	%edi, %edi
	cmpl	%eax, %ebx
	setae	%dil
	callq	_BUG_ON
	movq	___CARL9170_NUM_BW@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpl	$3, (%rax)
	setne	%dil
	callq	_BUILD_BUG_ON
	movq	(%r12), %rax
	movl	%ebx, %ebx
	shlq	$4, %rbx
	xorl	%edi, %edi
	cmpq	%r15, (%rax,%rbx)
	setne	%dil
	callq	_WARN_ON
	movq	(%r12), %rcx
	movl	%r14d, %eax
	shlq	$2, %rax
	addq	8(%rcx,%rbx), %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_carl9170_phy_freq_params,8,3   ## @carl9170_phy_freq_params
	.comm	___CARL9170_NUM_BW,4,2          ## @__CARL9170_NUM_BW
	.no_dead_strip	_carl9170_get_hw_dyn_params
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function carl9170_get_hw_dyn_params
_carl9170_get_hw_dyn_params:            ; @carl9170_get_hw_dyn_params
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w20, [x0]
	ldr	x21, [x0, #8]
	b	LBB0_3
LBB0_2:
	mov	w20, #0
	mov	w21, #2412
LBB0_3:
Lloh0:
	adrp	x22, _carl9170_phy_freq_params@GOTPAGE
Lloh1:
	ldr	x22, [x22, _carl9170_phy_freq_params@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	cmp	w20, w0
	cset	w0, hs
	bl	_BUG_ON
Lloh2:
	adrp	x8, ___CARL9170_NUM_BW@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___CARL9170_NUM_BW@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w8, #3
	cset	w0, ne
	bl	_BUILD_BUG_ON
	ldr	x8, [x22]
	mov	w9, w20
	lsl	x20, x9, #4
	ldr	x8, [x8, x20]
	cmp	x8, x21
	cset	w0, ne
	bl	_WARN_ON
	ldr	x8, [x22]
	add	x8, x8, x20
	ldr	x8, [x8, #8]
	add	x0, x8, w19, uxtw #2
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_carl9170_phy_freq_params,8,3   ; @carl9170_phy_freq_params
	.comm	___CARL9170_NUM_BW,4,2          ; @__CARL9170_NUM_BW
	.no_dead_strip	_carl9170_get_hw_dyn_params
.subsections_via_symbols
