	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_phy_db_get_section
_iwl_phy_db_get_section:                ## @iwl_phy_db_get_section
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $esi killed $esi def $rsi
	xorl	%eax, %eax
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.1:
	movq	_IWL_PHY_DB_MAX@GOTPCREL(%rip), %rcx
	cmpl	%esi, (%rcx)
	jbe	LBB0_11
## %bb.2:
	addl	$-128, %esi
	cmpl	$3, %esi
	ja	LBB0_12
## %bb.3:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rsi,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_4:
	addq	$36, %rdi
	jmp	LBB0_5
LBB0_6:
	cmpq	%rdx, 8(%rdi)
	jbe	LBB0_12
## %bb.7:
	shlq	$2, %rdx
	addq	16(%rdi), %rdx
	jmp	LBB0_10
LBB0_8:
	cmpq	%rdx, (%rdi)
	jbe	LBB0_12
## %bb.9:
	shlq	$2, %rdx
	addq	24(%rdi), %rdx
LBB0_10:
	movq	%rdx, %rax
LBB0_11:
	popq	%rbp
	retq
LBB0_12:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_13:
	addq	$32, %rdi
LBB0_5:
	movq	%rdi, %rax
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_13
	.long	L0_0_set_6
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.comm	_IWL_PHY_DB_MAX,4,2             ## @IWL_PHY_DB_MAX
	.no_dead_strip	_iwl_phy_db_get_section
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_phy_db_get_section
_iwl_phy_db_get_section:                ; @iwl_phy_db_get_section
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	mov	x0, #0
	cbz	x8, LBB0_10
; %bb.1:
Lloh0:
	adrp	x9, _IWL_PHY_DB_MAX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IWL_PHY_DB_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w9, w1
	b.ls	LBB0_10
; %bb.2:
	sub	w9, w1, #128
	cmp	w9, #3
	b.hi	LBB0_11
; %bb.3:
Lloh3:
	adrp	x10, lJTI0_0@PAGE
Lloh4:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_4
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_4:
	add	x0, x8, #36
	ret
LBB0_5:
	ldr	x9, [x8, #8]
	cmp	x9, x2
	b.ls	LBB0_11
; %bb.6:
	ldr	x8, [x8, #16]
	b	LBB0_9
LBB0_7:
	ldr	x9, [x8]
	cmp	x9, x2
	b.ls	LBB0_11
; %bb.8:
	ldr	x8, [x8, #24]
LBB0_9:
	add	x0, x8, x2, lsl #2
LBB0_10:
	ret
LBB0_11:
	mov	x0, #0
	ret
LBB0_12:
	add	x0, x8, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_12-LBB0_4)>>2
	.byte	(LBB0_5-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
                                        ; -- End function
	.comm	_IWL_PHY_DB_MAX,4,2             ; @IWL_PHY_DB_MAX
	.no_dead_strip	_iwl_phy_db_get_section
.subsections_via_symbols
