	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function venc_get_videomode
_venc_get_videomode:                    ## @venc_get_videomode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_DRM_MODE_FLAG_INTERLACE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_VENC_MODE_UNKNOWN@GOTPCREL(%rip), %rax
	testl	%ecx, (%rdi)
	je	LBB0_9
## %bb.1:
	movq	8(%rdi), %rcx
	movq	_omap_dss_pal_mode@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_5
## %bb.2:
	movq	16(%rdi), %rsi
	cmpq	8(%rdx), %rsi
	jne	LBB0_5
## %bb.3:
	movq	24(%rdi), %rsi
	cmpq	16(%rdx), %rsi
	jne	LBB0_5
## %bb.4:
	movq	_VENC_MODE_PAL@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_5:
	movq	_omap_dss_ntsc_mode@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_9
## %bb.6:
	movq	16(%rdi), %rcx
	cmpq	8(%rdx), %rcx
	jne	LBB0_9
## %bb.7:
	movq	24(%rdi), %rcx
	cmpq	16(%rdx), %rcx
	jne	LBB0_9
## %bb.8:
	movq	_VENC_MODE_NTSC@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DRM_MODE_FLAG_INTERLACE,4,2    ## @DRM_MODE_FLAG_INTERLACE
	.comm	_VENC_MODE_UNKNOWN,4,2          ## @VENC_MODE_UNKNOWN
	.comm	_omap_dss_pal_mode,24,3         ## @omap_dss_pal_mode
	.comm	_VENC_MODE_PAL,4,2              ## @VENC_MODE_PAL
	.comm	_omap_dss_ntsc_mode,24,3        ## @omap_dss_ntsc_mode
	.comm	_VENC_MODE_NTSC,4,2             ## @VENC_MODE_NTSC
	.no_dead_strip	_venc_get_videomode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function venc_get_videomode
_venc_get_videomode:                    ; @venc_get_videomode
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _DRM_MODE_FLAG_INTERLACE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DRM_MODE_FLAG_INTERLACE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.1:
	ldr	x8, [x0, #8]
Lloh3:
	adrp	x9, _omap_dss_pal_mode@GOTPAGE
Lloh4:
	ldr	x9, [x9, _omap_dss_pal_mode@GOTPAGEOFF]
	ldr	x10, [x9]
	cmp	x8, x10
	b.ne	LBB0_5
; %bb.2:
	ldr	x10, [x0, #16]
	ldr	x11, [x9, #8]
	cmp	x10, x11
	b.ne	LBB0_5
; %bb.3:
	ldr	x10, [x0, #24]
	ldr	x9, [x9, #16]
	cmp	x10, x9
	b.ne	LBB0_5
; %bb.4:
Lloh5:
	adrp	x8, _VENC_MODE_PAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _VENC_MODE_PAL@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ret
LBB0_5:
Lloh8:
	adrp	x9, _omap_dss_ntsc_mode@GOTPAGE
Lloh9:
	ldr	x9, [x9, _omap_dss_ntsc_mode@GOTPAGEOFF]
	ldr	x10, [x9]
	cmp	x8, x10
	b.ne	LBB0_9
; %bb.6:
	ldr	x8, [x0, #16]
	ldr	x10, [x9, #8]
	cmp	x8, x10
	b.ne	LBB0_9
; %bb.7:
	ldr	x8, [x0, #24]
	ldr	x9, [x9, #16]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.8:
Lloh10:
	adrp	x8, _VENC_MODE_NTSC@GOTPAGE
Lloh11:
	ldr	x8, [x8, _VENC_MODE_NTSC@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	ret
LBB0_9:
Lloh13:
	adrp	x8, _VENC_MODE_UNKNOWN@GOTPAGE
Lloh14:
	ldr	x8, [x8, _VENC_MODE_UNKNOWN@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_DRM_MODE_FLAG_INTERLACE,4,2    ; @DRM_MODE_FLAG_INTERLACE
	.comm	_VENC_MODE_UNKNOWN,4,2          ; @VENC_MODE_UNKNOWN
	.comm	_omap_dss_pal_mode,24,3         ; @omap_dss_pal_mode
	.comm	_VENC_MODE_PAL,4,2              ; @VENC_MODE_PAL
	.comm	_omap_dss_ntsc_mode,24,3        ; @omap_dss_ntsc_mode
	.comm	_VENC_MODE_NTSC,4,2             ; @VENC_MODE_NTSC
	.no_dead_strip	_venc_get_videomode
.subsections_via_symbols
