	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vx_read_one_cbit
_vx_read_one_cbit:                      ## @vx_read_one_cbit
	.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	%esi, %r15d
	movq	%rdi, %rbx
	leaq	8(%rdi), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	(%rbx), %rax
	movq	_VX_TYPE_VXPOCKET@GOTPCREL(%rip), %rcx
	movq	_CSUER@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	cmpq	(%rcx), %rax
	jge	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_vx_outl
	movq	_RUER@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_XX_UER_CBITS_OFFSET_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %r15d
	movq	%rbx, %rdi
	movl	%r15d, %edx
	callq	_vx_outl
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_vx_inl
	movl	%eax, %ebx
	shrl	$7, %ebx
	jmp	LBB0_3
LBB0_1:
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_vx_outb
	movq	_RUER@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_XX_UER_CBITS_OFFSET_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %r15d
	movq	%rbx, %rdi
	movl	%r15d, %edx
	callq	_vx_outb
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_vx_inb
	movl	%eax, %ebx
	sarl	$7, %ebx
LBB0_3:
	andl	$1, %ebx
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VX_TYPE_VXPOCKET,8,3           ## @VX_TYPE_VXPOCKET
	.comm	_CSUER,4,2                      ## @CSUER
	.comm	_RUER,4,2                       ## @RUER
	.comm	_XX_UER_CBITS_OFFSET_MASK,4,2   ## @XX_UER_CBITS_OFFSET_MASK
	.no_dead_strip	_vx_read_one_cbit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vx_read_one_cbit
_vx_read_one_cbit:                      ; @vx_read_one_cbit
	.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	x20, x0
	add	x19, x0, #8
	mov	x0, x19
	bl	_spin_lock_irqsave
Lloh0:
	adrp	x8, _VX_TYPE_VXPOCKET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VX_TYPE_VXPOCKET@GOTPAGEOFF]
	ldr	x9, [x20]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x10, _CSUER@GOTPAGE
Lloh4:
	ldr	x10, [x10, _CSUER@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x10]
	mov	x0, x20
	mov	w2, #1
	cmp	x9, x8
	b.ge	LBB0_2
; %bb.1:
	bl	_vx_outl
Lloh6:
	adrp	x22, _RUER@GOTPAGE
Lloh7:
	ldr	x22, [x22, _RUER@GOTPAGEOFF]
	ldr	w1, [x22]
Lloh8:
	adrp	x8, _XX_UER_CBITS_OFFSET_MASK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _XX_UER_CBITS_OFFSET_MASK@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	and	w2, w8, w21
	mov	x0, x20
	bl	_vx_outl
	ldr	w1, [x22]
	mov	x0, x20
	bl	_vx_inl
	lsr	w8, w0, #7
	b	LBB0_3
LBB0_2:
	bl	_vx_outb
Lloh11:
	adrp	x22, _RUER@GOTPAGE
Lloh12:
	ldr	x22, [x22, _RUER@GOTPAGEOFF]
	ldr	w1, [x22]
Lloh13:
	adrp	x8, _XX_UER_CBITS_OFFSET_MASK@GOTPAGE
Lloh14:
	ldr	x8, [x8, _XX_UER_CBITS_OFFSET_MASK@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	and	w2, w8, w21
	mov	x0, x20
	bl	_vx_outb
	ldr	w1, [x22]
	mov	x0, x20
	bl	_vx_inb
	asr	w8, w0, #7
LBB0_3:
	and	w20, w8, #0x1
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_VX_TYPE_VXPOCKET,8,3           ; @VX_TYPE_VXPOCKET
	.comm	_CSUER,4,2                      ; @CSUER
	.comm	_RUER,4,2                       ; @RUER
	.comm	_XX_UER_CBITS_OFFSET_MASK,4,2   ; @XX_UER_CBITS_OFFSET_MASK
	.no_dead_strip	_vx_read_one_cbit
.subsections_via_symbols
