	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function imx7d_adc_read_data
_imx7d_adc_read_data:                   ## @imx7d_adc_read_data
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	(%rdi), %ebx
	testb	$2, %bl
	jne	LBB0_1
## %bb.2:
	movq	_IMX7D_REG_ADC_CHA_B_CNV_RSLT@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_IMX7D_REG_ADC_CHC_D_CNV_RSLT@GOTPCREL(%rip), %rax
LBB0_3:
	movq	(%rax), %rax
	addq	8(%rdi), %rax
	movq	%rax, %rdi
	callq	_readl
	movl	%eax, %ecx
	shrl	$16, %ecx
	testb	$1, %bl
	cmovnel	%ecx, %eax
	andl	$4095, %eax                     ## imm = 0xFFF
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IMX7D_REG_ADC_CHA_B_CNV_RSLT,8,3 ## @IMX7D_REG_ADC_CHA_B_CNV_RSLT
	.comm	_IMX7D_REG_ADC_CHC_D_CNV_RSLT,8,3 ## @IMX7D_REG_ADC_CHC_D_CNV_RSLT
	.no_dead_strip	_imx7d_adc_read_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function imx7d_adc_read_data
_imx7d_adc_read_data:                   ; @imx7d_adc_read_data
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	w19, [x0]
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x9, _IMX7D_REG_ADC_CHA_B_CNV_RSLT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IMX7D_REG_ADC_CHA_B_CNV_RSLT@GOTPAGEOFF]
Lloh2:
	adrp	x10, _IMX7D_REG_ADC_CHC_D_CNV_RSLT@GOTPAGE
Lloh3:
	ldr	x10, [x10, _IMX7D_REG_ADC_CHC_D_CNV_RSLT@GOTPAGEOFF]
	tst	w19, #0x2
	csel	x9, x9, x10, eq
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
	lsr	w8, w0, #16
	tst	w19, #0x1
	csel	w8, w0, w8, eq
	and	w0, w8, #0xfff
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_IMX7D_REG_ADC_CHA_B_CNV_RSLT,8,3 ; @IMX7D_REG_ADC_CHA_B_CNV_RSLT
	.comm	_IMX7D_REG_ADC_CHC_D_CNV_RSLT,8,3 ; @IMX7D_REG_ADC_CHC_D_CNV_RSLT
	.no_dead_strip	_imx7d_adc_read_data
.subsections_via_symbols
