	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tps6105x_startup
_tps6105x_startup:                      ## @tps6105x_startup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movl	8(%rdi), %edi
	movq	_TPS6105X_REG_0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-20(%rbp), %rdx
	callq	_regmap_read
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movl	-20(%rbp), %eax
	movq	_TPS6105X_REG0_MODE_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shrl	%cl, %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_3
## %bb.2:
	cltq
	leaq	l_reltable.tps6105x_startup(%rip), %rcx
	movslq	(%rcx,%rax,4), %rsi
	addq	%rcx, %rsi
	movq	(%r14), %rdi
	callq	_dev_info
LBB0_3:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TPS6105X_REG_0,4,2             ## @TPS6105X_REG_0
	.comm	_TPS6105X_REG0_MODE_SHIFT,4,2   ## @TPS6105X_REG0_MODE_SHIFT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TPS6105x found in SHUTDOWN mode\n"

L_.str.1:                               ## @.str.1
	.asciz	"TPS6105x found in TORCH mode\n"

L_.str.2:                               ## @.str.2
	.asciz	"TPS6105x found in FLASH mode\n"

L_.str.3:                               ## @.str.3
	.asciz	"TPS6105x found in VOLTAGE mode\n"

	.no_dead_strip	_tps6105x_startup
	.section	__TEXT,__const
	.p2align	2                               ## @reltable.tps6105x_startup
l_reltable.tps6105x_startup:
	.long	L_.str.3-l_reltable.tps6105x_startup
	.long	L_.str.2-l_reltable.tps6105x_startup
	.long	L_.str.1-l_reltable.tps6105x_startup
	.long	L_.str-l_reltable.tps6105x_startup

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tps6105x_startup
_tps6105x_startup:                      ; @tps6105x_startup
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w0, [x0, #8]
Lloh0:
	adrp	x8, _TPS6105X_REG_0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TPS6105X_REG_0@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_regmap_read
	mov	x20, x0
	cbnz	w0, LBB0_3
; %bb.1:
	ldr	w8, [sp, #12]
Lloh3:
	adrp	x9, _TPS6105X_REG0_MODE_SHIFT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TPS6105X_REG0_MODE_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	lsr	w8, w8, w9
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_3
; %bb.2:
Lloh6:
	adrp	x9, l_switch.table.tps6105x_startup@PAGE
Lloh7:
	add	x9, x9, l_switch.table.tps6105x_startup@PAGEOFF
	ldr	x1, [x9, w8, sxtw #3]
	ldr	x0, [x19]
	bl	_dev_info
LBB0_3:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_TPS6105X_REG_0,4,2             ; @TPS6105X_REG_0
	.comm	_TPS6105X_REG0_MODE_SHIFT,4,2   ; @TPS6105X_REG0_MODE_SHIFT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TPS6105x found in SHUTDOWN mode\n"

l_.str.1:                               ; @.str.1
	.asciz	"TPS6105x found in TORCH mode\n"

l_.str.2:                               ; @.str.2
	.asciz	"TPS6105x found in FLASH mode\n"

l_.str.3:                               ; @.str.3
	.asciz	"TPS6105x found in VOLTAGE mode\n"

	.no_dead_strip	_tps6105x_startup
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.tps6105x_startup
l_switch.table.tps6105x_startup:
	.quad	l_.str.3
	.quad	l_.str.2
	.quad	l_.str.1
	.quad	l_.str

.subsections_via_symbols
