	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ks_read_qmu
_ks_read_qmu:                           ## @ks_read_qmu
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	(%rdi), %r12d
	movl	%r12d, %r13d
	andl	$1, %r13d
	movq	_KS_RXFDPR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_RXFDPR_RXFPAI@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_ks_wrreg16
	movq	_KS_RXQCR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movzbl	4(%rbx), %eax
	movq	_RXQCR_SDA@GOTPCREL(%rip), %rcx
	movzbl	(%rcx), %edx
	orl	%eax, %edx
	movq	%rbx, %rdi
	callq	_ks_wrreg8
	movl	%r13d, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	8(%rbx), %edi
	callq	_ioread8
LBB0_2:
	addl	$4, %r12d
	andl	$-2, %r12d
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%r12d, %edx
	callq	_ks_inblk
	movl	%r15d, %edi
	movl	$4, %esi
	callq	_ALIGN
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_ks_inblk
	movq	_KS_RXQCR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%rbx), %edx
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ks_wrreg8                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_KS_RXFDPR,4,2                  ## @KS_RXFDPR
	.comm	_RXFDPR_RXFPAI,4,2              ## @RXFDPR_RXFPAI
	.comm	_KS_RXQCR,4,2                   ## @KS_RXQCR
	.comm	_RXQCR_SDA,4,2                  ## @RXQCR_SDA
	.no_dead_strip	_ks_read_qmu
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ks_read_qmu
_ks_read_qmu:                           ; @ks_read_qmu
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	ldr	w24, [x0]
	and	w22, w24, #0x1
Lloh0:
	adrp	x8, _KS_RXFDPR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KS_RXFDPR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _RXFDPR_RXFPAI@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RXFDPR_RXFPAI@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_ks_wrreg16
Lloh6:
	adrp	x23, _KS_RXQCR@GOTPAGE
Lloh7:
	ldr	x23, [x23, _KS_RXQCR@GOTPAGEOFF]
	ldr	w1, [x23]
	ldrb	w8, [x19, #4]
Lloh8:
	adrp	x9, _RXQCR_SDA@GOTPAGE
Lloh9:
	ldr	x9, [x9, _RXQCR_SDA@GOTPAGEOFF]
	ldrb	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x19
	bl	_ks_wrreg8
	mov	x0, x22
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x19, #8]
	bl	_ioread8
LBB0_2:
	add	w8, w24, #4
	and	w2, w8, #0xfffffffe
	mov	x0, x19
	mov	x1, x20
	bl	_ks_inblk
	mov	x0, x21
	mov	w1, #4
	bl	_ALIGN
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_ks_inblk
	ldr	w1, [x23]
	ldr	w2, [x19, #4]
	mov	x0, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_ks_wrreg8
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_KS_RXFDPR,4,2                  ; @KS_RXFDPR
	.comm	_RXFDPR_RXFPAI,4,2              ; @RXFDPR_RXFPAI
	.comm	_KS_RXQCR,4,2                   ; @KS_RXQCR
	.comm	_RXQCR_SDA,4,2                  ; @RXQCR_SDA
	.no_dead_strip	_ks_read_qmu
.subsections_via_symbols
