	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_h264_check_intra_pred_mode  ## -- Begin function ff_h264_check_intra_pred_mode
	.p2align	4, 0x90
_ff_h264_check_intra_pred_mode:         ## @ff_h264_check_intra_pred_mode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edx killed $edx def $rdx
	cmpl	$4, %ecx
	jb	LBB0_3
## %bb.1:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
LBB0_2:
	callq	_av_log
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_3:
	testl	$32768, %esi                    ## imm = 0x8000
	jne	LBB0_6
## %bb.4:
	movl	%ecx, %eax
	andl	$-2, %eax
	cmpl	$2, %eax
	jne	LBB0_5
## %bb.14:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_2
LBB0_5:
	movl	%ecx, %eax
	leaq	_ff_h264_check_intra_pred_mode.top(%rip), %rcx
	movl	(%rcx,%rax,4), %ecx
LBB0_6:
	movl	%edx, %esi
	andl	$32896, %esi                    ## imm = 0x8080
	cmpl	$32896, %esi                    ## imm = 0x8080
	jne	LBB0_8
## %bb.7:
	movl	%ecx, %eax
	popq	%rbp
	retq
LBB0_8:
	movl	%ecx, %eax
	andl	$-3, %eax
	cmpl	$1, %eax
	jne	LBB0_10
## %bb.9:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	jmp	LBB0_2
LBB0_10:
	movslq	%ecx, %rax
	leaq	_ff_h264_check_intra_pred_mode.left(%rip), %rdi
	movl	(%rdi,%rax,4), %eax
	testl	%esi, %esi
	je	LBB0_13
## %bb.11:
	testl	%r8d, %r8d
	je	LBB0_13
## %bb.12:
	movq	_ALZHEIMER_DC_L0T_PRED8x8@GOTPCREL(%rip), %rsi
	shrl	$15, %edx
	andl	$1, %edx
	xorl	%eax, %eax
	cmpl	$4, %ecx
	sete	%al
	leal	(%rdx,%rax,2), %eax
	xorl	$1, %eax
	addl	(%rsi), %eax
LBB0_13:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @ff_h264_check_intra_pred_mode.top
_ff_h264_check_intra_pred_mode.top:
	.long	129                             ## 0x81
	.long	1                               ## 0x1
	.long	4294967295                      ## 0xffffffff
	.long	4294967295                      ## 0xffffffff

	.p2align	4                               ## @ff_h264_check_intra_pred_mode.left
_ff_h264_check_intra_pred_mode.left:
	.long	128                             ## 0x80
	.long	4294967295                      ## 0xffffffff
	.long	2                               ## 0x2
	.long	4294967295                      ## 0xffffffff
	.long	130                             ## 0x82

	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"out of range intra chroma pred mode\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
L_.str.1:                               ## @.str.1
	.asciz	"top block unavailable for requested intra mode\n"

L_.str.2:                               ## @.str.2
	.asciz	"left block unavailable for requested intra mode\n"

	.comm	_ALZHEIMER_DC_L0T_PRED8x8,4,2   ## @ALZHEIMER_DC_L0T_PRED8x8
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_h264_check_intra_pred_mode  ; -- Begin function ff_h264_check_intra_pred_mode
	.p2align	2
_ff_h264_check_intra_pred_mode:         ; @ff_h264_check_intra_pred_mode
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	cmp	w3, #4
	b.lo	LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
LBB0_2:
	bl	_av_log
Lloh5:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_3:
	tbnz	w1, #15, LBB0_7
; %bb.4:
	and	w8, w3, #0xfffffffe
	cmp	w8, #2
	b.ne	LBB0_6
; %bb.5:
Lloh8:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x2, l_.str.1@PAGE
Lloh12:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_2
LBB0_6:
Lloh13:
	adrp	x8, _ff_h264_check_intra_pred_mode.top@PAGE
Lloh14:
	add	x8, x8, _ff_h264_check_intra_pred_mode.top@PAGEOFF
	ldr	w3, [x8, w3, uxtw #2]
LBB0_7:
	mov	w9, #32896
	and	w8, w2, w9
	cmp	w8, w9
	b.ne	LBB0_9
; %bb.8:
	mov	x0, x3
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_9:
	and	w9, w3, #0xfffffffd
	cmp	w9, #1
	b.ne	LBB0_11
; %bb.10:
Lloh15:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
Lloh18:
	adrp	x2, l_.str.2@PAGE
Lloh19:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_2
LBB0_11:
Lloh20:
	adrp	x9, _ff_h264_check_intra_pred_mode.left@PAGE
Lloh21:
	add	x9, x9, _ff_h264_check_intra_pred_mode.left@PAGEOFF
	ldr	w0, [x9, w3, sxtw #2]
	cbz	w8, LBB0_14
; %bb.12:
	cbz	w4, LBB0_14
; %bb.13:
Lloh22:
	adrp	x8, _ALZHEIMER_DC_L0T_PRED8x8@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ALZHEIMER_DC_L0T_PRED8x8@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	cmp	w3, #4
	cset	w9, eq
	lsl	w9, w9, #1
	bfxil	w9, w2, #15, #1
	eor	w9, w9, #0x1
	add	w0, w9, w8
LBB0_14:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @ff_h264_check_intra_pred_mode.top
_ff_h264_check_intra_pred_mode.top:
	.long	129                             ; 0x81
	.long	1                               ; 0x1
	.long	4294967295                      ; 0xffffffff
	.long	4294967295                      ; 0xffffffff

	.p2align	2                               ; @ff_h264_check_intra_pred_mode.left
_ff_h264_check_intra_pred_mode.left:
	.long	128                             ; 0x80
	.long	4294967295                      ; 0xffffffff
	.long	2                               ; 0x2
	.long	4294967295                      ; 0xffffffff
	.long	130                             ; 0x82

	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"out of range intra chroma pred mode\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
l_.str.1:                               ; @.str.1
	.asciz	"top block unavailable for requested intra mode\n"

l_.str.2:                               ; @.str.2
	.asciz	"left block unavailable for requested intra mode\n"

	.comm	_ALZHEIMER_DC_L0T_PRED8x8,4,2   ; @ALZHEIMER_DC_L0T_PRED8x8
.subsections_via_symbols
