	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_bus_width
_get_bus_width:                         ## @get_bus_width
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	addl	$-128, %esi
	cmpl	$4, %esi
	jae	LBB0_1
## %bb.2:
	movslq	%esi, %rax
	leaq	l_switch.table.get_bus_width(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	jmp	LBB0_3
LBB0_1:
	callq	_tdc2dev
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edi
	callq	_dev_warn
	movq	_TEGRA_APBDMA_APBSEQ_BUS_WIDTH_32@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TEGRA_APBDMA_APBSEQ_BUS_WIDTH_8,4,2 ## @TEGRA_APBDMA_APBSEQ_BUS_WIDTH_8
	.comm	_TEGRA_APBDMA_APBSEQ_BUS_WIDTH_16,4,2 ## @TEGRA_APBDMA_APBSEQ_BUS_WIDTH_16
	.comm	_TEGRA_APBDMA_APBSEQ_BUS_WIDTH_32,4,2 ## @TEGRA_APBDMA_APBSEQ_BUS_WIDTH_32
	.comm	_TEGRA_APBDMA_APBSEQ_BUS_WIDTH_64,4,2 ## @TEGRA_APBDMA_APBSEQ_BUS_WIDTH_64
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"slave bw is not supported, using 32bits\n"

	.no_dead_strip	_get_bus_width
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.get_bus_width
l_switch.table.get_bus_width:
	.quad	_TEGRA_APBDMA_APBSEQ_BUS_WIDTH_64
	.quad	_TEGRA_APBDMA_APBSEQ_BUS_WIDTH_32
	.quad	_TEGRA_APBDMA_APBSEQ_BUS_WIDTH_16
	.quad	_TEGRA_APBDMA_APBSEQ_BUS_WIDTH_8

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_bus_width
_get_bus_width:                         ; @get_bus_width
	.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
	sub	w8, w1, #128
	cmp	w8, #4
	b.hs	LBB0_2
; %bb.1:
Lloh0:
	adrp	x9, l_switch.table.get_bus_width@PAGE
Lloh1:
	add	x9, x9, l_switch.table.get_bus_width@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	b	LBB0_3
LBB0_2:
	bl	_tdc2dev
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_warn
Lloh4:
	adrp	x8, _TEGRA_APBDMA_APBSEQ_BUS_WIDTH_32@GOTPAGE
Lloh5:
	ldr	x8, [x8, _TEGRA_APBDMA_APBSEQ_BUS_WIDTH_32@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_TEGRA_APBDMA_APBSEQ_BUS_WIDTH_8,4,2 ; @TEGRA_APBDMA_APBSEQ_BUS_WIDTH_8
	.comm	_TEGRA_APBDMA_APBSEQ_BUS_WIDTH_16,4,2 ; @TEGRA_APBDMA_APBSEQ_BUS_WIDTH_16
	.comm	_TEGRA_APBDMA_APBSEQ_BUS_WIDTH_32,4,2 ; @TEGRA_APBDMA_APBSEQ_BUS_WIDTH_32
	.comm	_TEGRA_APBDMA_APBSEQ_BUS_WIDTH_64,4,2 ; @TEGRA_APBDMA_APBSEQ_BUS_WIDTH_64
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"slave bw is not supported, using 32bits\n"

	.no_dead_strip	_get_bus_width
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.get_bus_width
l_switch.table.get_bus_width:
	.quad	_TEGRA_APBDMA_APBSEQ_BUS_WIDTH_64
	.quad	_TEGRA_APBDMA_APBSEQ_BUS_WIDTH_32
	.quad	_TEGRA_APBDMA_APBSEQ_BUS_WIDTH_16
	.quad	_TEGRA_APBDMA_APBSEQ_BUS_WIDTH_8

.subsections_via_symbols
