	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tegra_abpmisc_read_revision
_tegra_abpmisc_read_revision:           ## @tegra_abpmisc_read_revision
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	$4, %esi
	callq	_ABP_RD4
	movl	%eax, %ecx
	shrl	$16, %ecx
	andl	$15, %ecx
	decl	%ecx
	cmpl	$3, %ecx
	ja	LBB0_1
## %bb.2:
	movslq	%ecx, %rcx
	leaq	l_switch.table.tegra_abpmisc_read_revision(%rip), %rdx
	movq	(%rdx,%rcx,8), %rcx
	jmp	LBB0_3
LBB0_1:
	movq	_TEGRA_REVISION_UNKNOWN@GOTPCREL(%rip), %rcx
LBB0_3:
	movl	(%rcx), %ecx
	movzbl	%ah, %eax
	movq	_tegra_sku_info@GOTPCREL(%rip), %rdx
	movl	%eax, (%rdx)
	movl	%ecx, 4(%rdx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TEGRA_REVISION_A01,4,2         ## @TEGRA_REVISION_A01
	.comm	_TEGRA_REVISION_A02,4,2         ## @TEGRA_REVISION_A02
	.comm	_TEGRA_REVISION_A03,4,2         ## @TEGRA_REVISION_A03
	.comm	_TEGRA_REVISION_A04,4,2         ## @TEGRA_REVISION_A04
	.comm	_TEGRA_REVISION_UNKNOWN,4,2     ## @TEGRA_REVISION_UNKNOWN
	.comm	_tegra_sku_info,8,2             ## @tegra_sku_info
	.no_dead_strip	_tegra_abpmisc_read_revision
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.tegra_abpmisc_read_revision
l_switch.table.tegra_abpmisc_read_revision:
	.quad	_TEGRA_REVISION_A01
	.quad	_TEGRA_REVISION_A02
	.quad	_TEGRA_REVISION_A03
	.quad	_TEGRA_REVISION_A04

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tegra_abpmisc_read_revision
_tegra_abpmisc_read_revision:           ; @tegra_abpmisc_read_revision
	.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
	mov	w1, #4
	bl	_ABP_RD4
                                        ; kill: def $w0 killed $w0 def $x0
	ubfx	x8, x0, #16, #4
	sub	x8, x8, #1
	cmp	w8, #3
	b.hi	LBB0_2
; %bb.1:
Lloh0:
	adrp	x9, l_switch.table.tegra_abpmisc_read_revision@PAGE
Lloh1:
	add	x9, x9, l_switch.table.tegra_abpmisc_read_revision@PAGEOFF
	ldr	x8, [x9, x8, lsl #3]
	b	LBB0_3
LBB0_2:
Lloh2:
	adrp	x8, _TEGRA_REVISION_UNKNOWN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TEGRA_REVISION_UNKNOWN@GOTPAGEOFF]
LBB0_3:
	ldr	w8, [x8]
	ubfx	w9, w0, #8, #8
Lloh4:
	adrp	x10, _tegra_sku_info@GOTPAGE
Lloh5:
	ldr	x10, [x10, _tegra_sku_info@GOTPAGEOFF]
	stp	w9, w8, [x10]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_TEGRA_REVISION_A01,4,2         ; @TEGRA_REVISION_A01
	.comm	_TEGRA_REVISION_A02,4,2         ; @TEGRA_REVISION_A02
	.comm	_TEGRA_REVISION_A03,4,2         ; @TEGRA_REVISION_A03
	.comm	_TEGRA_REVISION_A04,4,2         ; @TEGRA_REVISION_A04
	.comm	_TEGRA_REVISION_UNKNOWN,4,2     ; @TEGRA_REVISION_UNKNOWN
	.comm	_tegra_sku_info,8,2             ; @tegra_sku_info
	.no_dead_strip	_tegra_abpmisc_read_revision
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.tegra_abpmisc_read_revision
l_switch.table.tegra_abpmisc_read_revision:
	.quad	_TEGRA_REVISION_A01
	.quad	_TEGRA_REVISION_A02
	.quad	_TEGRA_REVISION_A03
	.quad	_TEGRA_REVISION_A04

.subsections_via_symbols
