	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_dvmm_hw_setting
_get_dvmm_hw_setting:                   ## @get_dvmm_hw_setting
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_SURFACE_PIXEL_FORMAT_INVALID@GOTPCREL(%rip), %rcx
	movl	$2, %eax
	cmpl	%esi, (%rcx)
	jbe	LBB0_4
## %bb.1:
	movq	_SURFACE_PIXEL_FORMAT_VIDEO_BEGIN@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jbe	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	jmp	LBB0_4
LBB0_3:
	xorl	%eax, %eax
	testl	%edx, %edx
	setne	%al
LBB0_4:
	movl	(%rdi), %ecx
	addl	$-128, %ecx
	cmpl	$9, %ecx
	ja	LBB0_5
## %bb.6:
	movslq	%ecx, %rcx
	leaq	l_switch.table.get_dvmm_hw_setting(%rip), %rdx
	movq	(%rdx,%rcx,8), %rcx
	jmp	LBB0_7
LBB0_5:
	movq	_dvmm_Hw_Setting_2DTiling@GOTPCREL(%rip), %rcx
LBB0_7:
	movq	(%rcx), %rcx
	movq	(%rcx,%rax,8), %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SURFACE_PIXEL_FORMAT_INVALID,4,2 ## @SURFACE_PIXEL_FORMAT_INVALID
	.comm	_SURFACE_PIXEL_FORMAT_VIDEO_BEGIN,4,2 ## @SURFACE_PIXEL_FORMAT_VIDEO_BEGIN
	.comm	_dvmm_Hw_Setting_1DTiling,8,3   ## @dvmm_Hw_Setting_1DTiling
	.comm	_dvmm_Hw_Setting_2DTiling,8,3   ## @dvmm_Hw_Setting_2DTiling
	.comm	_dvmm_Hw_Setting_Linear,8,3     ## @dvmm_Hw_Setting_Linear
	.no_dead_strip	_get_dvmm_hw_setting
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.get_dvmm_hw_setting
l_switch.table.get_dvmm_hw_setting:
	.quad	_dvmm_Hw_Setting_1DTiling
	.quad	_dvmm_Hw_Setting_2DTiling
	.quad	_dvmm_Hw_Setting_2DTiling
	.quad	_dvmm_Hw_Setting_Linear
	.quad	_dvmm_Hw_Setting_Linear
	.quad	_dvmm_Hw_Setting_2DTiling
	.quad	_dvmm_Hw_Setting_2DTiling
	.quad	_dvmm_Hw_Setting_2DTiling
	.quad	_dvmm_Hw_Setting_1DTiling
	.quad	_dvmm_Hw_Setting_1DTiling

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_dvmm_hw_setting
_get_dvmm_hw_setting:                   ; @get_dvmm_hw_setting
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _SURFACE_PIXEL_FORMAT_INVALID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SURFACE_PIXEL_FORMAT_INVALID@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ls	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _SURFACE_PIXEL_FORMAT_VIDEO_BEGIN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SURFACE_PIXEL_FORMAT_VIDEO_BEGIN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w2, #0
	cset	w9, ne
	cmp	w8, w1
	csel	x8, xzr, x9, hi
	b	LBB0_3
LBB0_2:
	mov	w8, #2
LBB0_3:
	ldr	w9, [x0]
	sub	w9, w9, #128
	cmp	w9, #9
	b.hi	LBB0_5
; %bb.4:
Lloh6:
	adrp	x10, l_switch.table.get_dvmm_hw_setting@PAGE
Lloh7:
	add	x10, x10, l_switch.table.get_dvmm_hw_setting@PAGEOFF
	ldr	x9, [x10, w9, sxtw #3]
	b	LBB0_6
LBB0_5:
Lloh8:
	adrp	x9, _dvmm_Hw_Setting_2DTiling@GOTPAGE
Lloh9:
	ldr	x9, [x9, _dvmm_Hw_Setting_2DTiling@GOTPAGEOFF]
LBB0_6:
	ldr	x9, [x9]
	ldr	x0, [x9, x8, lsl #3]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_SURFACE_PIXEL_FORMAT_INVALID,4,2 ; @SURFACE_PIXEL_FORMAT_INVALID
	.comm	_SURFACE_PIXEL_FORMAT_VIDEO_BEGIN,4,2 ; @SURFACE_PIXEL_FORMAT_VIDEO_BEGIN
	.comm	_dvmm_Hw_Setting_1DTiling,8,3   ; @dvmm_Hw_Setting_1DTiling
	.comm	_dvmm_Hw_Setting_2DTiling,8,3   ; @dvmm_Hw_Setting_2DTiling
	.comm	_dvmm_Hw_Setting_Linear,8,3     ; @dvmm_Hw_Setting_Linear
	.no_dead_strip	_get_dvmm_hw_setting
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.get_dvmm_hw_setting
l_switch.table.get_dvmm_hw_setting:
	.quad	_dvmm_Hw_Setting_1DTiling
	.quad	_dvmm_Hw_Setting_2DTiling
	.quad	_dvmm_Hw_Setting_2DTiling
	.quad	_dvmm_Hw_Setting_Linear
	.quad	_dvmm_Hw_Setting_Linear
	.quad	_dvmm_Hw_Setting_2DTiling
	.quad	_dvmm_Hw_Setting_2DTiling
	.quad	_dvmm_Hw_Setting_2DTiling
	.quad	_dvmm_Hw_Setting_1DTiling
	.quad	_dvmm_Hw_Setting_1DTiling

.subsections_via_symbols
