	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_drm_hdmi_avi_infoframe_content_type ## -- Begin function drm_hdmi_avi_infoframe_content_type
	.p2align	4, 0x90
_drm_hdmi_avi_infoframe_content_type:   ## @drm_hdmi_avi_infoframe_content_type
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rsi), %eax
	leal	-128(%rax), %ecx
	cmpl	$3, %ecx
	ja	LBB0_1
## %bb.2:
	movslq	%ecx, %rcx
	leaq	l_switch.table.drm_hdmi_avi_infoframe_content_type(%rip), %rdx
	movq	(%rdx,%rcx,8), %rcx
	jmp	LBB0_3
LBB0_1:
	movq	_HDMI_CONTENT_TYPE_GRAPHICS@GOTPCREL(%rip), %rcx
LBB0_3:
	movq	(%rcx), %rcx
	movq	%rcx, 8(%rdi)
	movq	_DRM_MODE_CONTENT_TYPE_NO_DATA@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpl	(%rcx), %eax
	setne	%dl
	movl	%edx, (%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HDMI_CONTENT_TYPE_GRAPHICS,8,3 ## @HDMI_CONTENT_TYPE_GRAPHICS
	.comm	_HDMI_CONTENT_TYPE_CINEMA,8,3   ## @HDMI_CONTENT_TYPE_CINEMA
	.comm	_HDMI_CONTENT_TYPE_GAME,8,3     ## @HDMI_CONTENT_TYPE_GAME
	.comm	_HDMI_CONTENT_TYPE_PHOTO,8,3    ## @HDMI_CONTENT_TYPE_PHOTO
	.comm	_DRM_MODE_CONTENT_TYPE_NO_DATA,4,2 ## @DRM_MODE_CONTENT_TYPE_NO_DATA
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.drm_hdmi_avi_infoframe_content_type
l_switch.table.drm_hdmi_avi_infoframe_content_type:
	.quad	_HDMI_CONTENT_TYPE_PHOTO
	.quad	_HDMI_CONTENT_TYPE_GRAPHICS
	.quad	_HDMI_CONTENT_TYPE_GAME
	.quad	_HDMI_CONTENT_TYPE_CINEMA

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_drm_hdmi_avi_infoframe_content_type ; -- Begin function drm_hdmi_avi_infoframe_content_type
	.p2align	2
_drm_hdmi_avi_infoframe_content_type:   ; @drm_hdmi_avi_infoframe_content_type
	.cfi_startproc
; %bb.0:
	ldr	w8, [x1]
	sub	w9, w8, #128
	cmp	w9, #3
	b.hi	LBB0_2
; %bb.1:
Lloh0:
	adrp	x10, l_switch.table.drm_hdmi_avi_infoframe_content_type@PAGE
Lloh1:
	add	x10, x10, l_switch.table.drm_hdmi_avi_infoframe_content_type@PAGEOFF
	ldr	x9, [x10, w9, sxtw #3]
	b	LBB0_3
LBB0_2:
Lloh2:
	adrp	x9, _HDMI_CONTENT_TYPE_GRAPHICS@GOTPAGE
Lloh3:
	ldr	x9, [x9, _HDMI_CONTENT_TYPE_GRAPHICS@GOTPAGEOFF]
LBB0_3:
	ldr	x9, [x9]
	str	x9, [x0, #8]
Lloh4:
	adrp	x9, _DRM_MODE_CONTENT_TYPE_NO_DATA@GOTPAGE
Lloh5:
	ldr	x9, [x9, _DRM_MODE_CONTENT_TYPE_NO_DATA@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w8, ne
	str	w8, [x0]
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_HDMI_CONTENT_TYPE_GRAPHICS,8,3 ; @HDMI_CONTENT_TYPE_GRAPHICS
	.comm	_HDMI_CONTENT_TYPE_CINEMA,8,3   ; @HDMI_CONTENT_TYPE_CINEMA
	.comm	_HDMI_CONTENT_TYPE_GAME,8,3     ; @HDMI_CONTENT_TYPE_GAME
	.comm	_HDMI_CONTENT_TYPE_PHOTO,8,3    ; @HDMI_CONTENT_TYPE_PHOTO
	.comm	_DRM_MODE_CONTENT_TYPE_NO_DATA,4,2 ; @DRM_MODE_CONTENT_TYPE_NO_DATA
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.drm_hdmi_avi_infoframe_content_type
l_switch.table.drm_hdmi_avi_infoframe_content_type:
	.quad	_HDMI_CONTENT_TYPE_PHOTO
	.quad	_HDMI_CONTENT_TYPE_GRAPHICS
	.quad	_HDMI_CONTENT_TYPE_GAME
	.quad	_HDMI_CONTENT_TYPE_CINEMA

.subsections_via_symbols
