	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_copy_nv_reg
_init_copy_nv_reg:                      ## @init_copy_nv_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rsi
	movq	8(%rdi), %rax
	movq	(%rax), %rax
	movq	(%rax), %r13
	incq	%rsi
	movq	%r13, %rdi
	callq	_nvbios_rd32
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	(%rbx), %rsi
	addq	$5, %rsi
	movq	%r13, %rdi
	callq	_nvbios_rd08
	movl	%eax, %r15d
	movq	(%rbx), %rsi
	addq	$6, %rsi
	movq	%r13, %rdi
	callq	_nvbios_rd32
	movl	%eax, %r14d
	movq	(%rbx), %rsi
	addq	$10, %rsi
	movq	%r13, %rdi
	callq	_nvbios_rd32
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %rsi
	addq	$14, %rsi
	movq	%r13, %rdi
	callq	_nvbios_rd32
	movl	%eax, %r12d
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	(%rbx), %rsi
	addq	$18, %rsi
	movq	%r13, %rdi
	callq	_nvbios_rd32
	movl	%eax, %r13d
	movl	$256, %r9d                      ## imm = 0x100
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	subl	%r15d, %r9d
	testb	$-128, %r15b
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %r8
	cmoveq	%rax, %r8
	cmovel	%r15d, %r9d
	leaq	L_.str(%rip), %rdi
	movl	%r12d, %esi
	movl	%r13d, %edx
	movl	-52(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %ecx
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	pushq	%r12
	pushq	%r14
	callq	_trace
	addq	$16, %rsp
	addq	$22, (%rbx)
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_init_rd32
	movl	%eax, %edi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_init_shift
	notl	%r13d
	andl	%eax, %r14d
	xorl	%r12d, %r14d
	movq	%rbx, %rdi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movl	%r13d, %edx
	movl	%r14d, %ecx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_init_mask                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"COPY_NV_REG\tR[0x%06x] &= 0x%08x |= ((R[0x%06x] %s 0x%02x) & 0x%08x ^ 0x%08x)\n"

L_.str.1:                               ## @.str.1
	.asciz	"<<"

L_.str.2:                               ## @.str.2
	.asciz	">>"

	.no_dead_strip	_init_copy_nv_reg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_copy_nv_reg
_init_copy_nv_reg:                      ; @init_copy_nv_reg
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	ldp	x9, x8, [x0]
	ldr	x8, [x8]
	ldr	x23, [x8]
	add	x1, x9, #1
	mov	x0, x23
	bl	_nvbios_rd32
	mov	x20, x0
	ldr	x8, [x19]
	add	x1, x8, #5
	mov	x0, x23
	bl	_nvbios_rd08
	mov	x21, x0
	ldr	x8, [x19]
	add	x1, x8, #6
	mov	x0, x23
	bl	_nvbios_rd32
	mov	x22, x0
	ldr	x8, [x19]
	add	x1, x8, #10
	mov	x0, x23
	bl	_nvbios_rd32
	mov	x24, x0
	ldr	x8, [x19]
	add	x1, x8, #14
	mov	x0, x23
	bl	_nvbios_rd32
	mov	x25, x0
	ldr	x8, [x19]
	add	x1, x8, #18
	mov	x0, x23
	bl	_nvbios_rd32
	mov	x23, x0
Lloh0:
	adrp	x8, l_.str.1@PAGE
Lloh1:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh2:
	adrp	x9, l_.str.2@PAGE
Lloh3:
	add	x9, x9, l_.str.2@PAGEOFF
	mov	w10, #256
	sub	w10, w10, w21
	tst	w21, #0x80
	csel	x4, x9, x8, eq
	csel	w5, w21, w10, eq
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x25
	mov	x2, x23
	mov	x3, x20
	mov	x6, x22
	mov	x7, x24
	bl	_trace
	ldr	x8, [x19]
	add	x8, x8, #22
	str	x8, [x19]
	mov	x0, x19
	mov	x1, x20
	bl	_init_rd32
	mov	x1, x21
	bl	_init_shift
	mvn	w2, w23
	and	w8, w0, w22
	eor	w3, w8, w24
	mov	x0, x19
	mov	x1, x25
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_init_mask
	.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	"COPY_NV_REG\tR[0x%06x] &= 0x%08x |= ((R[0x%06x] %s 0x%02x) & 0x%08x ^ 0x%08x)\n"

l_.str.1:                               ; @.str.1
	.asciz	"<<"

l_.str.2:                               ; @.str.2
	.asciz	">>"

	.no_dead_strip	_init_copy_nv_reg
.subsections_via_symbols
