	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_stb0899_read_reg               ## -- Begin function stb0899_read_reg
	.p2align	4, 0x90
_stb0899_read_reg:                      ## @stb0899_read_reg
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	callq	__stb0899_read_reg
	movl	%eax, %r15d
	movl	%ebx, %eax
	andl	$-1025, %eax                    ## imm = 0xFBFF
	cmpl	$62207, %eax                    ## imm = 0xF2FF
	je	LBB0_3
## %bb.1:
	movl	%ebx, %eax
	orl	$1024, %eax                     ## imm = 0x400
	andl	$65280, %eax                    ## imm = 0xFF00
	cmpl	$62976, %eax                    ## imm = 0xF600
	jne	LBB0_3
## %bb.2:
	orl	$255, %ebx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	__stb0899_read_reg
LBB0_3:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	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	_stb0899_read_reg               ; -- Begin function stb0899_read_reg
	.p2align	2
_stb0899_read_reg:                      ; @stb0899_read_reg
	.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	x21, x1
	mov	x19, x0
	bl	__stb0899_read_reg
	mov	x20, x0
	and	w8, w21, #0xfffffbff
	mov	w9, #62207
	cmp	w8, w9
	b.eq	LBB0_3
; %bb.1:
	and	w8, w21, #0xff00
	orr	w8, w8, #0x400
	mov	w9, #62976
	cmp	w8, w9
	b.ne	LBB0_3
; %bb.2:
	orr	w1, w21, #0xff
	mov	x0, x19
	bl	__stb0899_read_reg
LBB0_3:
	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
