	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sdma_v4_0_get_reg_offset
_sdma_v4_0_get_reg_offset:              ## @sdma_v4_0_get_reg_offset
	.cfi_startproc
## %bb.0:
	cmpl	$7, %esi
	ja	LBB0_1
## %bb.2:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edx, %eax
	movl	%esi, %ecx
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_3:
	movq	(%rdi), %rcx
	movq	_SDMA0_HWIP@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	(%rcx,%rdx,8), %rcx
	movq	(%rcx), %rcx
	jmp	LBB0_12
LBB0_1:
	xorl	%eax, %eax
	retq
LBB0_4:
	movq	(%rdi), %rcx
	movq	_SDMA1_HWIP@GOTPCREL(%rip), %rdx
	jmp	LBB0_11
LBB0_5:
	movq	(%rdi), %rcx
	movq	_SDMA2_HWIP@GOTPCREL(%rip), %rdx
	jmp	LBB0_11
LBB0_6:
	movq	(%rdi), %rcx
	movq	_SDMA3_HWIP@GOTPCREL(%rip), %rdx
	jmp	LBB0_11
LBB0_7:
	movq	(%rdi), %rcx
	movq	_SDMA4_HWIP@GOTPCREL(%rip), %rdx
	jmp	LBB0_11
LBB0_8:
	movq	(%rdi), %rcx
	movq	_SDMA5_HWIP@GOTPCREL(%rip), %rdx
	jmp	LBB0_11
LBB0_9:
	movq	(%rdi), %rcx
	movq	_SDMA6_HWIP@GOTPCREL(%rip), %rdx
	jmp	LBB0_11
LBB0_10:
	movq	(%rdi), %rcx
	movq	_SDMA7_HWIP@GOTPCREL(%rip), %rdx
LBB0_11:
	movq	(%rdx), %rdx
	movq	(%rcx,%rdx,8), %rcx
	movq	(%rcx), %rcx
	addq	$4, %rcx
LBB0_12:
	addl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
	.long	L0_0_set_3
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_10
	.end_data_region
                                        ## -- End function
	.comm	_SDMA0_HWIP,8,3                 ## @SDMA0_HWIP
	.comm	_SDMA1_HWIP,8,3                 ## @SDMA1_HWIP
	.comm	_SDMA2_HWIP,8,3                 ## @SDMA2_HWIP
	.comm	_SDMA3_HWIP,8,3                 ## @SDMA3_HWIP
	.comm	_SDMA4_HWIP,8,3                 ## @SDMA4_HWIP
	.comm	_SDMA5_HWIP,8,3                 ## @SDMA5_HWIP
	.comm	_SDMA6_HWIP,8,3                 ## @SDMA6_HWIP
	.comm	_SDMA7_HWIP,8,3                 ## @SDMA7_HWIP
	.no_dead_strip	_sdma_v4_0_get_reg_offset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sdma_v4_0_get_reg_offset
_sdma_v4_0_get_reg_offset:              ; @sdma_v4_0_get_reg_offset
	.cfi_startproc
; %bb.0:
	cmp	w1, #7
	b.hi	LBB0_3
; %bb.1:
	mov	w8, w1
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl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loh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
                                        ; -- End function
	.comm	_SDMA0_HWIP,8,3                 ; @SDMA0_HWIP
	.comm	_SDMA1_HWIP,8,3                 ; @SDMA1_HWIP
	.comm	_SDMA2_HWIP,8,3                 ; @SDMA2_HWIP
	.comm	_SDMA3_HWIP,8,3                 ; @SDMA3_HWIP
	.comm	_SDMA4_HWIP,8,3                 ; @SDMA4_HWIP
	.comm	_SDMA5_HWIP,8,3                 ; @SDMA5_HWIP
	.comm	_SDMA6_HWIP,8,3                 ; @SDMA6_HWIP
	.comm	_SDMA7_HWIP,8,3                 ; @SDMA7_HWIP
	.no_dead_strip	_sdma_v4_0_get_reg_offset
.subsections_via_symbols
