	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_mvm_get_ctrl_pos           ## -- Begin function iwl_mvm_get_ctrl_pos
	.p2align	4, 0x90
_iwl_mvm_get_ctrl_pos:                  ## @iwl_mvm_get_ctrl_pos
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdi), %rax
	movl	(%rax), %eax
	subl	(%rdi), %eax
	js	LBB0_1
## %bb.6:
	cmpl	$29, %eax
	jle	LBB0_7
## %bb.10:
	cmpl	$30, %eax
	je	LBB0_16
## %bb.11:
	cmpl	$50, %eax
	je	LBB0_17
## %bb.12:
	cmpl	$70, %eax
	jne	LBB0_19
## %bb.13:
	movq	_PHY_VHT_CTRL_POS_4_ABOVE@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_1:
	cmpl	$-31, %eax
	jg	LBB0_4
## %bb.2:
	cmpl	$-70, %eax
	je	LBB0_3
## %bb.18:
	cmpl	$-50, %eax
	jne	LBB0_19
## %bb.14:
	movq	_PHY_VHT_CTRL_POS_3_BELOW@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_7:
	testl	%eax, %eax
	je	LBB0_20
## %bb.8:
	cmpl	$10, %eax
	jne	LBB0_19
## %bb.9:
	movq	_PHY_VHT_CTRL_POS_1_ABOVE@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_4:
	cmpl	$-30, %eax
	je	LBB0_15
## %bb.5:
	cmpl	$-10, %eax
	je	LBB0_20
LBB0_19:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_WARN
LBB0_20:
	movq	_PHY_VHT_CTRL_POS_1_BELOW@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_16:
	movq	_PHY_VHT_CTRL_POS_2_ABOVE@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_17:
	movq	_PHY_VHT_CTRL_POS_3_ABOVE@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_3:
	movq	_PHY_VHT_CTRL_POS_4_BELOW@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_15:
	movq	_PHY_VHT_CTRL_POS_2_BELOW@GOTPCREL(%rip), %rax
LBB0_21:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PHY_VHT_CTRL_POS_4_BELOW,4,2   ## @PHY_VHT_CTRL_POS_4_BELOW
	.comm	_PHY_VHT_CTRL_POS_3_BELOW,4,2   ## @PHY_VHT_CTRL_POS_3_BELOW
	.comm	_PHY_VHT_CTRL_POS_2_BELOW,4,2   ## @PHY_VHT_CTRL_POS_2_BELOW
	.comm	_PHY_VHT_CTRL_POS_1_BELOW,4,2   ## @PHY_VHT_CTRL_POS_1_BELOW
	.comm	_PHY_VHT_CTRL_POS_1_ABOVE,4,2   ## @PHY_VHT_CTRL_POS_1_ABOVE
	.comm	_PHY_VHT_CTRL_POS_2_ABOVE,4,2   ## @PHY_VHT_CTRL_POS_2_ABOVE
	.comm	_PHY_VHT_CTRL_POS_3_ABOVE,4,2   ## @PHY_VHT_CTRL_POS_3_ABOVE
	.comm	_PHY_VHT_CTRL_POS_4_ABOVE,4,2   ## @PHY_VHT_CTRL_POS_4_ABOVE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid channel definition"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_mvm_get_ctrl_pos           ; -- Begin function iwl_mvm_get_ctrl_pos
	.p2align	2
_iwl_mvm_get_ctrl_pos:                  ; @iwl_mvm_get_ctrl_pos
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x8, [x0, #8]
	ldr	w8, [x8]
	ldr	w9, [x0]
	subs	w8, w8, w9
	b.mi	LBB0_6
; %bb.1:
	cmp	w8, #29
	b.le	LBB0_10
; %bb.2:
	cmp	w8, #30
	b.eq	LBB0_17
; %bb.3:
	cmp	w8, #50
	b.eq	LBB0_18
; %bb.4:
	cmp	w8, #70
	b.ne	LBB0_15
; %bb.5:
Lloh0:
	adrp	x8, _PHY_VHT_CTRL_POS_4_ABOVE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PHY_VHT_CTRL_POS_4_ABOVE@GOTPAGEOFF]
	b	LBB0_21
LBB0_6:
	cmn	w8, #31
	b.gt	LBB0_13
; %bb.7:
	cmn	w8, #70
	b.eq	LBB0_19
; %bb.8:
	cmn	w8, #50
	b.ne	LBB0_15
; %bb.9:
Lloh2:
	adrp	x8, _PHY_VHT_CTRL_POS_3_BELOW@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PHY_VHT_CTRL_POS_3_BELOW@GOTPAGEOFF]
	b	LBB0_21
LBB0_10:
	cbz	w8, LBB0_16
; %bb.11:
	cmp	w8, #10
	b.ne	LBB0_15
; %bb.12:
Lloh4:
	adrp	x8, _PHY_VHT_CTRL_POS_1_ABOVE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _PHY_VHT_CTRL_POS_1_ABOVE@GOTPAGEOFF]
	b	LBB0_21
LBB0_13:
	cmn	w8, #30
	b.eq	LBB0_20
; %bb.14:
	cmn	w8, #10
	b.eq	LBB0_16
LBB0_15:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_WARN
LBB0_16:
Lloh8:
	adrp	x8, _PHY_VHT_CTRL_POS_1_BELOW@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PHY_VHT_CTRL_POS_1_BELOW@GOTPAGEOFF]
	b	LBB0_21
LBB0_17:
Lloh10:
	adrp	x8, _PHY_VHT_CTRL_POS_2_ABOVE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _PHY_VHT_CTRL_POS_2_ABOVE@GOTPAGEOFF]
	b	LBB0_21
LBB0_18:
Lloh12:
	adrp	x8, _PHY_VHT_CTRL_POS_3_ABOVE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PHY_VHT_CTRL_POS_3_ABOVE@GOTPAGEOFF]
	b	LBB0_21
LBB0_19:
Lloh14:
	adrp	x8, _PHY_VHT_CTRL_POS_4_BELOW@GOTPAGE
Lloh15:
	ldr	x8, [x8, _PHY_VHT_CTRL_POS_4_BELOW@GOTPAGEOFF]
	b	LBB0_21
LBB0_20:
Lloh16:
	adrp	x8, _PHY_VHT_CTRL_POS_2_BELOW@GOTPAGE
Lloh17:
	ldr	x8, [x8, _PHY_VHT_CTRL_POS_2_BELOW@GOTPAGEOFF]
LBB0_21:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_PHY_VHT_CTRL_POS_4_BELOW,4,2   ; @PHY_VHT_CTRL_POS_4_BELOW
	.comm	_PHY_VHT_CTRL_POS_3_BELOW,4,2   ; @PHY_VHT_CTRL_POS_3_BELOW
	.comm	_PHY_VHT_CTRL_POS_2_BELOW,4,2   ; @PHY_VHT_CTRL_POS_2_BELOW
	.comm	_PHY_VHT_CTRL_POS_1_BELOW,4,2   ; @PHY_VHT_CTRL_POS_1_BELOW
	.comm	_PHY_VHT_CTRL_POS_1_ABOVE,4,2   ; @PHY_VHT_CTRL_POS_1_ABOVE
	.comm	_PHY_VHT_CTRL_POS_2_ABOVE,4,2   ; @PHY_VHT_CTRL_POS_2_ABOVE
	.comm	_PHY_VHT_CTRL_POS_3_ABOVE,4,2   ; @PHY_VHT_CTRL_POS_3_ABOVE
	.comm	_PHY_VHT_CTRL_POS_4_ABOVE,4,2   ; @PHY_VHT_CTRL_POS_4_ABOVE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid channel definition"

.subsections_via_symbols
