	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sch56xx_read_virtual_reg12     ## -- Begin function sch56xx_read_virtual_reg12
	.p2align	4, 0x90
_sch56xx_read_virtual_reg12:            ## @sch56xx_read_virtual_reg12
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movl	%edx, %r15d
	movl	%edi, %r12d
	callq	_sch56xx_read_virtual_reg
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_7
## %bb.1:
	movl	%r12d, %edi
	movl	%r15d, %esi
	callq	_sch56xx_read_virtual_reg
	testl	%eax, %eax
	js	LBB0_2
## %bb.3:
	shll	$4, %ebx
	testl	%r14d, %r14d
	je	LBB0_5
## %bb.4:
	shrl	$4, %eax
	jmp	LBB0_6
LBB0_2:
	movl	%eax, %ebx
	jmp	LBB0_7
LBB0_5:
	andl	$15, %eax
LBB0_6:
	orl	%eax, %ebx
LBB0_7:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sch56xx_read_virtual_reg12     ; -- Begin function sch56xx_read_virtual_reg12
	.p2align	2
_sch56xx_read_virtual_reg12:            ; @sch56xx_read_virtual_reg12
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x3
	mov	x21, x2
	mov	x22, x0
	bl	_sch56xx_read_virtual_reg
	mov	x20, x0
	tbnz	w0, #31, LBB0_2
; %bb.1:
	mov	x0, x22
	mov	x1, x21
	bl	_sch56xx_read_virtual_reg
	lsl	w8, w20, #4
	and	w9, w0, #0xf
	orr	w9, w9, w8
	orr	w8, w8, w0, lsr #4
	cmp	w19, #0
	csel	w8, w9, w8, eq
	tst	w0, #0x80000000
	csel	w20, w0, w8, ne
LBB0_2:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
