	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function amdgpu_connector_vga_mode_valid
_amdgpu_connector_vga_mode_valid:       ## @amdgpu_connector_vga_mode_valid
	.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), %rax
	movq	(%rax), %rax
	movslq	(%rsi), %rcx
	imulq	$1717986919, %rcx, %rcx         ## imm = 0x66666667
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$34, %rcx
	addl	%edx, %ecx
	cmpl	(%rax), %ecx
	jle	LBB0_1
## %bb.2:
	movq	_MODE_CLOCK_HIGH@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_MODE_OK@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MODE_CLOCK_HIGH,4,2            ## @MODE_CLOCK_HIGH
	.comm	_MODE_OK,4,2                    ## @MODE_OK
	.no_dead_strip	_amdgpu_connector_vga_mode_valid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function amdgpu_connector_vga_mode_valid
_amdgpu_connector_vga_mode_valid:       ; @amdgpu_connector_vga_mode_valid
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldrsw	x9, [x1]
	mov	w10, #26215
	movk	w10, #26214, lsl #16
	mul	x9, x9, x10
	lsr	x10, x9, #63
	asr	x9, x9, #34
Lloh0:
	adrp	x11, _MODE_CLOCK_HIGH@GOTPAGE
Lloh1:
	ldr	x11, [x11, _MODE_CLOCK_HIGH@GOTPAGEOFF]
Lloh2:
	adrp	x12, _MODE_OK@GOTPAGE
Lloh3:
	ldr	x12, [x12, _MODE_OK@GOTPAGEOFF]
	ldr	w8, [x8]
	add	w9, w9, w10
	cmp	w9, w8
	csel	x8, x11, x12, gt
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MODE_CLOCK_HIGH,4,2            ; @MODE_CLOCK_HIGH
	.comm	_MODE_OK,4,2                    ; @MODE_OK
	.no_dead_strip	_amdgpu_connector_vga_mode_valid
.subsections_via_symbols
