	.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
	movq	(%rdi), %rdi
	movl	(%rdi), %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
	jae	LBB0_4
LBB0_6:
	popq	%rbp
	jmp	_nvkm_rd32                      ## TAILCALL
LBB0_4:
	movl	$344064, %edx                   ## imm = 0x54000
	btl	%ecx, %edx
	jae	LBB0_1
## %bb.5:
	movl	$18432, %esi                    ## imm = 0x4800
	popq	%rbp
	jmp	_nvkm_rd32                      ## TAILCALL
LBB0_1:
	cmpl	$80, %eax
	je	LBB0_6
## %bb.2:
	xorl	%eax, %eax
	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:
	ldr	x0, [x0]
	ldr	w8, [x0]
	mov	w1, #18176
	sub	w9, w8, #132
	cmp	w9, #28
	b.hi	LBB0_5
; %bb.1:
	mov	w10, #1
	lsl	w9, w10, w9
	mov	w10, #5
	movk	w10, #4112, lsl #16
	tst	w9, w10
	b.eq	LBB0_3
LBB0_2:
	b	_nvkm_rd32
LBB0_3:
	mov	w10, #16384
	movk	w10, #5, lsl #16
	tst	w9, w10
	b.eq	LBB0_5
; %bb.4:
	mov	w1, #18432
	b	_nvkm_rd32
LBB0_5:
	cmp	w8, #80
	b.eq	LBB0_2
; %bb.6:
	mov	w0, #0
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_read_div
.subsections_via_symbols
