	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mc13783_adc_uid_show
_mc13783_adc_uid_show:                  ## @mc13783_adc_uid_show
	.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	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	callq	_to_platform_device
	movq	%rax, %rdi
	callq	_platform_get_device_id
	movl	(%rax), %r12d
	leaq	-36(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_mc13783_adc_read
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	_MC13783_ADC_BPDIV2@GOTPCREL(%rip), %rax
	andl	(%rax), %r12d
	movl	$2555, %eax                     ## imm = 0x9FB
	movl	$4800, %edi                     ## imm = 0x12C0
	cmovel	%eax, %edi
	imull	-36(%rbp), %edi
	movl	$1024, %esi                     ## imm = 0x400
	callq	_DIV_ROUND_CLOSEST
	movl	%eax, -36(%rbp)
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_sprintf
LBB0_2:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MC13783_ADC_BPDIV2,4,2         ## @MC13783_ADC_BPDIV2
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%u\n"

	.no_dead_strip	_mc13783_adc_uid_show
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mc13783_adc_uid_show
_mc13783_adc_uid_show:                  ; @mc13783_adc_uid_show
	.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, x2
	mov	x20, x1
	mov	x21, x0
	bl	_to_platform_device
	bl	_platform_get_device_id
	ldr	w22, [x0]
	add	x2, sp, #12
	mov	x0, x21
	mov	x1, x20
	bl	_mc13783_adc_read
	cbnz	w0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _MC13783_ADC_BPDIV2@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MC13783_ADC_BPDIV2@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [sp, #12]
	tst	w8, w22
	mov	w8, #4800
	mov	w10, #2555
	csel	w8, w10, w8, eq
	mul	w0, w9, w8
	mov	w1, #1024
	bl	_DIV_ROUND_CLOSEST
	mov	x2, x0
	str	w0, [sp, #12]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_sprintf
LBB0_2:
	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 AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MC13783_ADC_BPDIV2,4,2         ; @MC13783_ADC_BPDIV2
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%u\n"

	.no_dead_strip	_mc13783_adc_uid_show
.subsections_via_symbols
