	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ves1820_read_ucblocks
_ves1820_read_ucblocks:                 ## @ves1820_read_ucblocks
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	(%rdi), %rbx
	movq	%rbx, %rdi
	movl	$19, %esi
	callq	_ves1820_readreg
	andl	$127, %eax
	cmpl	$127, %eax
	movl	$-1, %ecx
	cmovnel	%eax, %ecx
	movl	%ecx, (%r14)
	movq	_ves1820_inittab@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movl	$223, %edx
	andl	64(%rax), %edx
	movq	%rbx, %rdi
	movl	$16, %esi
	callq	_ves1820_writereg
	movq	(%r14), %rax
	movl	64(%rax), %edx
	movq	%rbx, %rdi
	movl	$16, %esi
	callq	_ves1820_writereg
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ves1820_inittab,8,3            ## @ves1820_inittab
	.no_dead_strip	_ves1820_read_ucblocks
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ves1820_read_ucblocks
_ves1820_read_ucblocks:                 ; @ves1820_read_ucblocks
	.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
	mov	x19, x1
	ldr	x20, [x0]
	mov	x0, x20
	mov	w1, #19
	bl	_ves1820_readreg
	and	w8, w0, #0x7f
	cmp	w8, #127
	csinv	w8, w8, wzr, ne
	str	w8, [x19]
Lloh0:
	adrp	x19, _ves1820_inittab@GOTPAGE
Lloh1:
	ldr	x19, [x19, _ves1820_inittab@GOTPAGEOFF]
	ldr	x8, [x19]
	ldr	w8, [x8, #64]
	mov	w9, #223
	and	w2, w8, w9
	mov	x0, x20
	mov	w1, #16
	bl	_ves1820_writereg
	ldr	x8, [x19]
	ldr	w2, [x8, #64]
	mov	x0, x20
	mov	w1, #16
	bl	_ves1820_writereg
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ves1820_inittab,8,3            ; @ves1820_inittab
	.no_dead_strip	_ves1820_read_ucblocks
.subsections_via_symbols
