	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vx_write_one_cbit
_vx_write_one_cbit:                     ## @vx_write_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	%edx, %r15d
	movl	%esi, %r12d
	movq	%rdi, %r14
	callq	_spin_lock_irqsave
	movq	%r14, %rdi
	callq	_vx_is_pcmcia
	movq	_CSUER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	xorl	%ebx, %ebx
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	testl	%r15d, %r15d
	setne	%bl
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_vx_outb
	movq	_RUER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	shll	$7, %ebx
	movq	_XX_UER_CBITS_OFFSET_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %r12d
	orl	%ebx, %r12d
	movq	%r14, %rdi
	movl	%r12d, %edx
	callq	_vx_outb
	jmp	LBB0_3
LBB0_2:
	testl	%r15d, %r15d
	setne	%bl
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_vx_outl
	movq	_RUER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	shll	$7, %ebx
	movq	_XX_UER_CBITS_OFFSET_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %r12d
	orl	%ebx, %r12d
	movq	%r14, %rdi
	movl	%r12d, %edx
	callq	_vx_outl
LBB0_3:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.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_write_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_write_one_cbit
_vx_write_one_cbit:                     ; @vx_write_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, x2
	mov	x20, x1
	mov	x19, x0
	bl	_spin_lock_irqsave
	mov	x0, x19
	bl	_vx_is_pcmcia
Lloh0:
	adrp	x8, _CSUER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CSUER@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	cmp	w21, #0
	cset	w21, ne
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	w2, #0
	bl	_vx_outb
Lloh3:
	adrp	x8, _RUER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RUER@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _XX_UER_CBITS_OFFSET_MASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _XX_UER_CBITS_OFFSET_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	and	w8, w8, w20
	orr	w2, w8, w21, lsl #7
	mov	x0, x19
	bl	_vx_outb
	b	LBB0_3
LBB0_2:
	mov	x0, x19
	mov	w2, #0
	bl	_vx_outl
Lloh9:
	adrp	x8, _RUER@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RUER@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _XX_UER_CBITS_OFFSET_MASK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _XX_UER_CBITS_OFFSET_MASK@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	and	w8, w8, w20
	orr	w2, w8, w21, lsl #7
	mov	x0, x19
	bl	_vx_outl
LBB0_3:
	mov	x0, x19
	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
	b	_spin_unlock_irqrestore
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.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_write_one_cbit
.subsections_via_symbols
