	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cardvcc_write
_cardvcc_write:                         ## @cardvcc_write
	.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	%edx, %r15d
	movl	%esi, %r14d
	movq	%rdi, %rbx
	xorl	%edi, %edi
	cmpq	$0, (%rbx)
	setne	%dil
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_APRINTK
	xorl	%edi, %edi
	cmpl	$65536, %r14d                   ## imm = 0x10000
	setb	%dil
	movl	8(%rbx), %ecx
	leaq	L_.str.1(%rip), %rsi
	movl	%r14d, %edx
	movl	%r15d, %r8d
	xorl	%eax, %eax
	callq	_APRINTK
	movl	8(%rbx), %esi
	leaq	L_.str.2(%rip), %rdi
	movl	%r15d, %edx
	movl	%r14d, %ecx
	callq	_RWDEBUG
	movl	%r15d, %esi
	shlq	$2, %rsi
	addq	(%rbx), %rsi
	movl	%r14d, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_writel                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cardvcc_write: unbound vcc!\n"

L_.str.1:                               ## @.str.1
	.asciz	"cardvcc_write: bad val 0x%X (vci=%d, addr=0x%02X)\n"

L_.str.2:                               ## @.str.2
	.asciz	"VW vci=%04d 0x%02X > 0x%08X\n"

	.no_dead_strip	_cardvcc_write
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cardvcc_write
_cardvcc_write:                         ; @cardvcc_write
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x8, [x0]
	cmp	x8, #0
	cset	w0, ne
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_APRINTK
	cmp	w20, #16, lsl #12               ; =65536
	cset	w0, lo
	ldr	w8, [x21, #8]
	stp	x8, x19, [sp, #8]
	str	x20, [sp]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_APRINTK
	ldr	w1, [x21, #8]
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x2, x19
	mov	x3, x20
	bl	_RWDEBUG
	ldr	x8, [x21]
	add	x1, x8, w19, uxtw #2
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_writel
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cardvcc_write: unbound vcc!\n"

l_.str.1:                               ; @.str.1
	.asciz	"cardvcc_write: bad val 0x%X (vci=%d, addr=0x%02X)\n"

l_.str.2:                               ; @.str.2
	.asciz	"VW vci=%04d 0x%02X > 0x%08X\n"

	.no_dead_strip	_cardvcc_write
.subsections_via_symbols
