	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_mem
_read_mem:                              ## @read_mem
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_nouveau_dev
	movq	%rax, %rdi
	movl	$1274864, %esi                  ## imm = 0x1373F0
	callq	_nv_rd32
	movq	%rbx, %rdi
	testb	$1, %al
	jne	LBB0_1
## %bb.2:
	movl	$1253376, %esi                  ## imm = 0x132000
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_read_pll                       ## TAILCALL
LBB0_1:
	xorl	%esi, %esi
	movl	$1274624, %edx                  ## imm = 0x137300
	movl	$1274640, %ecx                  ## imm = 0x137310
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_read_div                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_read_mem
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_mem
_read_mem:                              ; @read_mem
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	mov	w20, #29440
	movk	w20, #19, lsl #16
	bl	_nouveau_dev
	orr	w1, w20, #0xf0
	bl	_nv_rd32
	tbnz	w0, #0, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	w1, #8192
	movk	w1, #19, lsl #16
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_read_pll
LBB0_2:
	add	w3, w20, #16
	mov	x0, x19
	mov	w1, #0
	mov	w2, #29440
	movk	w2, #19, lsl #16
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_read_div
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_read_mem
.subsections_via_symbols
