	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function il4965_get_sub_band
_il4965_get_sub_band:                   ## @il4965_get_sub_band
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_EEPROM_TX_POWER_BANDS@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_1
## %bb.2:
	movq	(%rdi), %rax
	movq	(%rax), %rdx
	addq	$8, %rdx
	xorl	%eax, %eax
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rax
	addq	$16, %rdx
	cmpq	%rax, %rcx
	je	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	-8(%rdx), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	%rsi, %rdi
	jg	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	%rsi, (%rdx)
	jl	LBB0_6
## %bb.8:
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_7:
	movq	%rcx, %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EEPROM_TX_POWER_BANDS,8,3      ## @EEPROM_TX_POWER_BANDS
	.no_dead_strip	_il4965_get_sub_band
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function il4965_get_sub_band
_il4965_get_sub_band:                   ; @il4965_get_sub_band
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x9, _EEPROM_TX_POWER_BANDS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _EEPROM_TX_POWER_BANDS@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cbz	x9, LBB0_6
; %bb.1:
	mov	x8, x0
	mov	x0, #0
	ldr	x8, [x8]
	ldr	x8, [x8]
	add	x8, x8, #8
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x0, x0, #1
	add	x8, x8, #16
	cmp	x9, x0
	b.eq	LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x10, [x8, #-8]
	cmp	x10, #0
	ccmp	x10, x1, #0, ne
	b.gt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x10, [x8]
	cmp	x10, x1
	b.lt	LBB0_2
; %bb.5:
	ret
LBB0_6:
	mov	x0, #0
	ret
LBB0_7:
	mov	x0, x9
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EEPROM_TX_POWER_BANDS,8,3      ; @EEPROM_TX_POWER_BANDS
	.no_dead_strip	_il4965_get_sub_band
.subsections_via_symbols
