	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tps6507x_adc_standby
_tps6507x_adc_standby:                  ## @tps6507x_adc_standby
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_TPS6507X_REG_ADCONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TPS6507X_ADCONFIG_INPUT_TSC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_tps6507x_write_u8
	testq	%rax, %rax
	jne	LBB0_7
## %bb.1:
	movq	_TPS6507X_REG_TSCMODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TPS6507X_TSCMODE_STANDBY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_tps6507x_write_u8
	testq	%rax, %rax
	jne	LBB0_7
## %bb.2:
	movq	_TPS6507X_REG_INT@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	-36(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_tps6507x_read_u8
	testq	%rax, %rax
	jne	LBB0_7
## %bb.3:
	movq	_TPS6507X_REG_TSC_INT@GOTPCREL(%rip), %r12
	leaq	-36(%rbp), %r14
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %eax
	testl	%eax, -36(%rbp)
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	$10, %edi
	callq	_mdelay
	movl	(%r15), %esi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	callq	_tps6507x_read_u8
	testq	%rax, %rax
	je	LBB0_4
	jmp	LBB0_7
LBB0_5:
	xorl	%eax, %eax
LBB0_7:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TPS6507X_REG_ADCONFIG,4,2      ## @TPS6507X_REG_ADCONFIG
	.comm	_TPS6507X_ADCONFIG_INPUT_TSC,4,2 ## @TPS6507X_ADCONFIG_INPUT_TSC
	.comm	_TPS6507X_REG_TSCMODE,4,2       ## @TPS6507X_REG_TSCMODE
	.comm	_TPS6507X_TSCMODE_STANDBY,4,2   ## @TPS6507X_TSCMODE_STANDBY
	.comm	_TPS6507X_REG_INT,4,2           ## @TPS6507X_REG_INT
	.comm	_TPS6507X_REG_TSC_INT,4,2       ## @TPS6507X_REG_TSC_INT
	.no_dead_strip	_tps6507x_adc_standby
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tps6507x_adc_standby
_tps6507x_adc_standby:                  ; @tps6507x_adc_standby
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
Lloh0:
	adrp	x8, _TPS6507X_REG_ADCONFIG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TPS6507X_REG_ADCONFIG@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _TPS6507X_ADCONFIG_INPUT_TSC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TPS6507X_ADCONFIG_INPUT_TSC@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_tps6507x_write_u8
	cbnz	x0, LBB0_7
; %bb.1:
Lloh6:
	adrp	x8, _TPS6507X_REG_TSCMODE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TPS6507X_REG_TSCMODE@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _TPS6507X_TSCMODE_STANDBY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TPS6507X_TSCMODE_STANDBY@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_tps6507x_write_u8
	cbnz	x0, LBB0_7
; %bb.2:
Lloh12:
	adrp	x20, _TPS6507X_REG_INT@GOTPAGE
Lloh13:
	ldr	x20, [x20, _TPS6507X_REG_INT@GOTPAGEOFF]
	ldr	w1, [x20]
	add	x2, sp, #12
	mov	x0, x19
	bl	_tps6507x_read_u8
	cbnz	x0, LBB0_7
; %bb.3:
Lloh14:
	adrp	x21, _TPS6507X_REG_TSC_INT@GOTPAGE
Lloh15:
	ldr	x21, [x21, _TPS6507X_REG_TSC_INT@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [sp, #12]
	ldr	w9, [x21]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #10
	bl	_mdelay
	ldr	w1, [x20]
	add	x2, sp, #12
	mov	x0, x19
	bl	_tps6507x_read_u8
	cbz	x0, LBB0_4
	b	LBB0_7
LBB0_6:
	mov	x0, #0
LBB0_7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_TPS6507X_REG_ADCONFIG,4,2      ; @TPS6507X_REG_ADCONFIG
	.comm	_TPS6507X_ADCONFIG_INPUT_TSC,4,2 ; @TPS6507X_ADCONFIG_INPUT_TSC
	.comm	_TPS6507X_REG_TSCMODE,4,2       ; @TPS6507X_REG_TSCMODE
	.comm	_TPS6507X_TSCMODE_STANDBY,4,2   ; @TPS6507X_TSCMODE_STANDBY
	.comm	_TPS6507X_REG_INT,4,2           ; @TPS6507X_REG_INT
	.comm	_TPS6507X_REG_TSC_INT,4,2       ; @TPS6507X_REG_TSC_INT
	.no_dead_strip	_tps6507x_adc_standby
.subsections_via_symbols
