	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_io
_init_io:                               ## @init_io
	.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
	movq	%rdi, %r13
	movq	(%rdi), %rbx
	movq	8(%rdi), %rsi
	incq	%rsi
	movq	%rbx, %rdi
	callq	_nv_ro16
	movl	%eax, %r14d
	movq	8(%r13), %rsi
	addq	$3, %rsi
	movq	%rbx, %rdi
	callq	_nv_ro16
	movl	%eax, %r15d
	movq	8(%r13), %rsi
	addq	$4, %rsi
	movq	%rbx, %rdi
	callq	_nv_ro16
	movl	%eax, %r12d
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %esi
	movl	%r15d, %edx
	movl	%eax, %ecx
	callq	_trace
	addq	$5, 8(%r13)
	movq	(%r13), %rdi
	callq	_nv_device
	cmpl	$1, %r12d
	jne	LBB0_4
## %bb.1:
	movq	_NV_50@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, (%rax)
	jl	LBB0_4
## %bb.2:
	cmpl	$963, %r14d                     ## imm = 0x3C3
	jne	LBB0_4
## %bb.3:
	movq	%r13, %rdi
	movl	$6373632, %esi                  ## imm = 0x614100
	movl	$-260046848, %edx               ## imm = 0xF0800000
	movl	$8388608, %ecx                  ## imm = 0x800000
	callq	_init_mask
	movq	%r13, %rdi
	movl	$57740, %esi                    ## imm = 0xE18C
	movl	$131072, %edx                   ## imm = 0x20000
	movl	$131072, %ecx                   ## imm = 0x20000
	callq	_init_mask
	movq	%r13, %rdi
	movl	$6375680, %esi                  ## imm = 0x614900
	movl	$-260046848, %edx               ## imm = 0xF0800000
	movl	$8388608, %ecx                  ## imm = 0x800000
	callq	_init_mask
	movq	%r13, %rdi
	movl	$512, %esi                      ## imm = 0x200
	movl	$1073741824, %edx               ## imm = 0x40000000
	xorl	%ecx, %ecx
	callq	_init_mask
	movl	$10, %edi
	callq	_mdelay
	movq	%r13, %rdi
	movl	$57740, %esi                    ## imm = 0xE18C
	movl	$131072, %edx                   ## imm = 0x20000
	xorl	%ecx, %ecx
	callq	_init_mask
	movq	%r13, %rdi
	movl	$512, %esi                      ## imm = 0x200
	movl	$1073741824, %edx               ## imm = 0x40000000
	movl	$1073741824, %ecx               ## imm = 0x40000000
	callq	_init_mask
	movq	%r13, %rdi
	movl	$6373632, %esi                  ## imm = 0x614100
	movl	$8388632, %edx                  ## imm = 0x800018
	callq	_init_wr32
	movq	%r13, %rdi
	movl	$6375680, %esi                  ## imm = 0x614900
	movl	$8388632, %edx                  ## imm = 0x800018
	callq	_init_wr32
	movl	$10, %edi
	callq	_mdelay
	movq	%r13, %rdi
	movl	$6373632, %esi                  ## imm = 0x614100
	movl	$268435480, %edx                ## imm = 0x10000018
	callq	_init_wr32
	movq	%r13, %rdi
	movl	$6375680, %esi                  ## imm = 0x614900
	movl	$268435480, %edx                ## imm = 0x10000018
	callq	_init_wr32
LBB0_4:
	movq	%r13, %rdi
	movl	%r14d, %esi
	callq	_init_rdport
	andl	%eax, %r15d
	orl	%r12d, %r15d
	movq	%r13, %rdi
	movl	%r14d, %esi
	movl	%r15d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_init_wrport                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"IO\t\tI[0x%04x] &= 0x%02x |= 0x%02x\n"

	.comm	_NV_50,8,3                      ## @NV_50
	.no_dead_strip	_init_io
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_io
_init_io:                               ; @init_io
	.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	x19, x0
	ldp	x22, x8, [x0]
	add	x1, x8, #1
	mov	x0, x22
	bl	_nv_ro16
	mov	x20, x0
	ldr	x8, [x19, #8]
	add	x1, x8, #3
	mov	x0, x22
	bl	_nv_ro16
	mov	x21, x0
	ldr	x8, [x19, #8]
	add	x1, x8, #4
	mov	x0, x22
	bl	_nv_ro16
	mov	x22, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	mov	x2, x21
	mov	x3, x22
	bl	_trace
	ldp	x0, x8, [x19]
	add	x8, x8, #5
	str	x8, [x19, #8]
	bl	_nv_device
	ldr	x8, [x0]
Lloh2:
	adrp	x9, _NV_50@GOTPAGE
Lloh3:
	ldr	x9, [x9, _NV_50@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	w22, #1
	ccmp	x8, x9, #8, eq
	b.lt	LBB0_3
; %bb.1:
	cmp	w20, #963
	b.ne	LBB0_3
; %bb.2:
	mov	w23, #16640
	movk	w23, #97, lsl #16
	mov	x0, x19
	mov	w1, #16640
	movk	w1, #97, lsl #16
	mov	w2, #-260046848
	mov	w3, #8388608
	bl	_init_mask
	mov	x0, x19
	mov	w1, #57740
	mov	w2, #131072
	mov	w3, #131072
	bl	_init_mask
	orr	w23, w23, #0x800
	mov	x0, x19
	mov	x1, x23
	mov	w2, #-260046848
	mov	w3, #8388608
	bl	_init_mask
	mov	x0, x19
	mov	w1, #512
	mov	w2, #1073741824
	mov	w3, #0
	bl	_init_mask
	mov	w0, #10
	bl	_mdelay
	mov	x0, x19
	mov	w1, #57740
	mov	w2, #131072
	mov	w3, #0
	bl	_init_mask
	mov	x0, x19
	mov	w1, #512
	mov	w2, #1073741824
	mov	w3, #1073741824
	bl	_init_mask
	mov	x0, x19
	mov	w1, #16640
	movk	w1, #97, lsl #16
	mov	w2, #24
	movk	w2, #128, lsl #16
	bl	_init_wr32
	mov	x0, x19
	mov	x1, x23
	mov	w2, #24
	movk	w2, #128, lsl #16
	bl	_init_wr32
	mov	w0, #10
	bl	_mdelay
	mov	x0, x19
	mov	w1, #16640
	movk	w1, #97, lsl #16
	mov	w2, #24
	movk	w2, #4096, lsl #16
	bl	_init_wr32
	mov	x0, x19
	mov	x1, x23
	mov	w2, #24
	movk	w2, #4096, lsl #16
	bl	_init_wr32
LBB0_3:
	mov	x0, x19
	mov	x1, x20
	bl	_init_rdport
	and	w8, w0, w21
	orr	w2, w8, w22
	mov	x0, x19
	mov	x1, x20
	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	_init_wrport
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"IO\t\tI[0x%04x] &= 0x%02x |= 0x%02x\n"

	.comm	_NV_50,8,3                      ; @NV_50
	.no_dead_strip	_init_io
.subsections_via_symbols
