	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mmalil_omx_video_level_to_mmal ## -- Begin function mmalil_omx_video_level_to_mmal
	.p2align	4, 0x90
_mmalil_omx_video_level_to_mmal:        ## @mmalil_omx_video_level_to_mmal
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_mmal_omx_video_level_table@GOTPCREL(%rip), %rax
	movq	(%rax), %r9
	movq	_MMAL_VIDEO_LEVEL_DUMMY@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movq	(%r9), %rax
	cmpq	%r8, %rax
	jne	LBB0_1
LBB0_5:
	movq	%r8, %rax
LBB0_6:
	popq	%rbp
	retq
LBB0_1:
	xorl	%ecx, %ecx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	%ecx
	leaq	(%rcx,%rcx,2), %rax
	movq	(%r9,%rax,8), %rax
	cmpq	%r8, %rax
	je	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(%rcx,%rcx,2), %rdx
	cmpq	%rdi, 8(%r9,%rdx,8)
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rsi, 16(%r9,%rdx,8)
	jne	LBB0_4
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_mmal_omx_video_level_table,8,3 ## @mmal_omx_video_level_table
	.comm	_MMAL_VIDEO_LEVEL_DUMMY,8,3     ## @MMAL_VIDEO_LEVEL_DUMMY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mmalil_omx_video_level_to_mmal ; -- Begin function mmalil_omx_video_level_to_mmal
	.p2align	2
_mmalil_omx_video_level_to_mmal:        ; @mmalil_omx_video_level_to_mmal
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _mmal_omx_video_level_table@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mmal_omx_video_level_table@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x8]
Lloh3:
	adrp	x8, _MMAL_VIDEO_LEVEL_DUMMY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MMAL_VIDEO_LEVEL_DUMMY@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x8]
	ldr	x8, [x10]
	cmp	x8, x9
	b.ne	LBB0_3
LBB0_1:
	mov	x8, x9
LBB0_2:
	mov	x0, x8
	ret
LBB0_3:
	mov	x11, #0
	mov	w12, #24
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w11, w11, #1
	umull	x8, w11, w12
	ldr	x8, [x10, x8]
	cmp	x8, x9
	b.eq	LBB0_1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	madd	x13, x11, x12, x10
	ldr	x13, [x13, #8]
	cmp	x13, x0
	b.ne	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	madd	x13, x11, x12, x10
	ldr	x13, [x13, #16]
	cmp	x13, x1
	b.ne	LBB0_4
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_mmal_omx_video_level_table,8,3 ; @mmal_omx_video_level_table
	.comm	_MMAL_VIDEO_LEVEL_DUMMY,8,3     ; @MMAL_VIDEO_LEVEL_DUMMY
.subsections_via_symbols
