	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_div
_read_div:                              ## @read_div
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_nouveau_dev
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_nouveau_drm
	movl	(%rax), %edi
	callq	_nv_device
	movl	(%rax), %eax
	movl	$18176, %esi                    ## imm = 0x4700
	leal	-132(%rax), %ecx
	cmpl	$28, %ecx
	ja	LBB0_1
## %bb.3:
	movl	$269484037, %edx                ## imm = 0x10100005
	btl	%ecx, %edx
	jb	LBB0_6
## %bb.4:
	movl	$344064, %edx                   ## imm = 0x54000
	btl	%ecx, %edx
	jae	LBB0_1
## %bb.5:
	movl	$18432, %esi                    ## imm = 0x4800
	jmp	LBB0_6
LBB0_1:
	cmpl	$80, %eax
	jne	LBB0_2
LBB0_6:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_nv_rd32                        ## TAILCALL
LBB0_2:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_read_div
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_div
_read_div:                              ; @read_div
	.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	x20, x0
	bl	_nouveau_dev
	mov	x19, x0
	mov	x0, x20
	bl	_nouveau_drm
	ldr	w0, [x0]
	bl	_nv_device
	ldr	w8, [x0]
	mov	w1, #18176
	sub	w9, w8, #132
	cmp	w9, #28
	b.hi	LBB0_4
; %bb.1:
	mov	w10, #1
	lsl	w9, w10, w9
	mov	w10, #5
	movk	w10, #4112, lsl #16
	tst	w9, w10
	b.ne	LBB0_5
; %bb.2:
	mov	w10, #16384
	movk	w10, #5, lsl #16
	tst	w9, w10
	b.eq	LBB0_4
; %bb.3:
	mov	w1, #18432
	b	LBB0_5
LBB0_4:
	cmp	w8, #80
	b.ne	LBB0_6
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_nv_rd32
LBB0_6:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_read_div
.subsections_via_symbols
