	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_h264_check_intra4x4_pred_mode ## -- Begin function ff_h264_check_intra4x4_pred_mode
	.p2align	4, 0x90
_ff_h264_check_intra4x4_pred_mode:      ## @ff_h264_check_intra4x4_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
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	testl	$32768, %edx                    ## imm = 0x8000
	jne	LBB0_15
## %bb.1:
	movq	_scan8@GOTPCREL(%rip), %rax
	movq	(%rax), %r9
	movl	(%r9), %r14d
	movslq	%r14d, %rax
	movslq	(%rdi,%rax,4), %rdx
	leaq	_ff_h264_check_intra4x4_pred_mode.top(%rip), %r8
	movl	(%r8,%rdx,4), %r11d
	movl	$249, %ebx
	btq	%rdx, %rbx
	jb	LBB0_5
## %bb.2:
	movl	$3842, %ebx                     ## imm = 0xF02
	btq	%rdx, %rbx
	jb	LBB0_4
## %bb.3:
	movl	%r11d, (%rdi,%rax,4)
	movl	(%r9), %r14d
LBB0_4:
	movslq	%r14d, %r10
	movslq	4(%rdi,%r10,4), %rax
	movl	(%r8,%rax,4), %r11d
	movl	$249, %edx
	btq	%rax, %rdx
	jb	LBB0_5
## %bb.7:
	movl	$3842, %edx                     ## imm = 0xF02
	btq	%rax, %rdx
	jb	LBB0_9
## %bb.8:
	incq	%r10
	movl	%r11d, (%rdi,%r10,4)
	movl	(%r9), %r14d
LBB0_9:
	movslq	%r14d, %r10
	movslq	8(%rdi,%r10,4), %rax
	movl	(%r8,%rax,4), %r11d
	movl	$249, %edx
	btq	%rax, %rdx
	jb	LBB0_5
## %bb.10:
	movl	$3842, %edx                     ## imm = 0xF02
	btq	%rax, %rdx
	jb	LBB0_12
## %bb.11:
	addq	$2, %r10
	movl	%r11d, (%rdi,%r10,4)
	movl	(%r9), %r14d
LBB0_12:
	movslq	%r14d, %rax
	movslq	12(%rdi,%rax,4), %rdx
	movl	(%r8,%rdx,4), %r11d
	movl	$249, %ebx
	btq	%rdx, %rbx
	jb	LBB0_5
## %bb.13:
	movl	$3842, %ebx                     ## imm = 0xF02
	btq	%rdx, %rbx
	jb	LBB0_15
## %bb.14:
	addq	$3, %rax
	movl	%r11d, (%rdi,%rax,4)
LBB0_15:
	movl	%ecx, %edx
	notl	%edx
	xorl	%eax, %eax
	testl	$34952, %edx                    ## imm = 0x8888
	je	LBB0_33
## %bb.16:
	movq	_scan8@GOTPCREL(%rip), %rdx
	movq	(%rdx), %r9
	testl	$32768, %ecx                    ## imm = 0x8000
	jne	LBB0_20
## %bb.17:
	movslq	(%r9), %r10
	movslq	(%rdi,%r10,4), %rbx
	leaq	_ff_h264_check_intra4x4_pred_mode.left(%rip), %rdx
	movl	(%rdx,%rbx,4), %r8d
	movl	$370, %edx                      ## imm = 0x172
	btq	%rbx, %rdx
	jb	LBB0_22
## %bb.18:
	movl	$3209, %edx                     ## imm = 0xC89
	btq	%rbx, %rdx
	jb	LBB0_20
## %bb.19:
	movl	%r8d, (%rdi,%r10,4)
LBB0_20:
	testl	$8192, %ecx                     ## imm = 0x2000
	jne	LBB0_25
## %bb.21:
	movslq	(%r9), %r10
	movslq	32(%rdi,%r10,4), %rbx
	leaq	_ff_h264_check_intra4x4_pred_mode.left(%rip), %rdx
	movl	(%rdx,%rbx,4), %r8d
	movl	$370, %edx                      ## imm = 0x172
	btq	%rbx, %rdx
	jb	LBB0_22
## %bb.23:
	movl	$3209, %edx                     ## imm = 0xC89
	btq	%rbx, %rdx
	jb	LBB0_25
## %bb.24:
	movl	%r8d, 32(%rdi,%r10,4)
LBB0_25:
	testb	$-128, %cl
	jne	LBB0_29
## %bb.26:
	movslq	(%r9), %r10
	movslq	64(%rdi,%r10,4), %rbx
	leaq	_ff_h264_check_intra4x4_pred_mode.left(%rip), %rdx
	movl	(%rdx,%rbx,4), %r8d
	movl	$370, %edx                      ## imm = 0x172
	btq	%rbx, %rdx
	jb	LBB0_22
## %bb.27:
	movl	$3209, %edx                     ## imm = 0xC89
	btq	%rbx, %rdx
	jb	LBB0_29
## %bb.28:
	movl	%r8d, 64(%rdi,%r10,4)
LBB0_29:
	testb	$32, %cl
	jne	LBB0_33
## %bb.30:
	movslq	(%r9), %rcx
	movslq	96(%rdi,%rcx,4), %rdx
	leaq	_ff_h264_check_intra4x4_pred_mode.left(%rip), %rbx
	movl	(%rbx,%rdx,4), %r8d
	movl	$370, %ebx                      ## imm = 0x172
	btq	%rdx, %rbx
	jb	LBB0_22
## %bb.31:
	movl	$3209, %esi                     ## imm = 0xC89
	btq	%rdx, %rsi
	jb	LBB0_33
## %bb.32:
	movl	%r8d, 96(%rdi,%rcx,4)
	jmp	LBB0_33
LBB0_5:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %rdx
	movq	%rsi, %rdi
	movl	%ecx, %esi
	movl	%r11d, %ecx
	jmp	LBB0_6
LBB0_22:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	L_.str.1(%rip), %rdx
	movq	%rsi, %rdi
	movl	%eax, %esi
	movl	%r8d, %ecx
LBB0_6:
	callq	_av_log
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_33:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @ff_h264_check_intra4x4_pred_mode.top
_ff_h264_check_intra4x4_pred_mode.top:
	.long	4294967295                      ## 0xffffffff
	.long	0                               ## 0x0
	.long	129                             ## 0x81
	.long	4294967295                      ## 0xffffffff
	.long	4294967295                      ## 0xffffffff
	.long	4294967295                      ## 0xffffffff
	.long	4294967295                      ## 0xffffffff
	.long	4294967295                      ## 0xffffffff
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0

	.p2align	4                               ## @ff_h264_check_intra4x4_pred_mode.left
_ff_h264_check_intra4x4_pred_mode.left:
	.long	0                               ## 0x0
	.long	4294967295                      ## 0xffffffff
	.long	128                             ## 0x80
	.long	0                               ## 0x0
	.long	4294967295                      ## 0xffffffff
	.long	4294967295                      ## 0xffffffff
	.long	4294967295                      ## 0xffffffff
	.long	0                               ## 0x0
	.long	4294967295                      ## 0xffffffff
	.long	130                             ## 0x82
	.long	0                               ## 0x0
	.long	0                               ## 0x0

	.comm	_scan8,8,3                      ## @scan8
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"top block unavailable for requested intra mode %d\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
L_.str.1:                               ## @.str.1
	.asciz	"left block unavailable for requested intra4x4 mode %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_h264_check_intra4x4_pred_mode ; -- Begin function ff_h264_check_intra4x4_pred_mode
	.p2align	2
_ff_h264_check_intra4x4_pred_mode:      ; @ff_h264_check_intra4x4_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
	tbnz	w2, #15, LBB0_13
; %bb.1:
Lloh0:
	adrp	x8, _scan8@GOTPAGE
Lloh1:
	ldr	x8, [x8, _scan8@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x8]
	ldr	w11, [x10]
	ldrsw	x12, [x0, w11, sxtw #2]
Lloh3:
	adrp	x9, _ff_h264_check_intra4x4_pred_mode.top@PAGE
Lloh4:
	add	x9, x9, _ff_h264_check_intra4x4_pred_mode.top@PAGEOFF
	ldr	w8, [x9, x12, lsl #2]
	mov	w13, #249
	lsr	x13, x13, x12
	tbnz	w13, #0, LBB0_15
; %bb.2:
	mov	w13, #3842
	lsr	x12, x13, x12
	tbnz	w12, #0, LBB0_4
; %bb.3:
	sxtw	x11, w11
	str	w8, [x0, x11, lsl #2]
	ldr	w11, [x10]
LBB0_4:
	add	w12, w11, #1
	ldrsw	x13, [x0, w12, sxtw #2]
	ldr	w8, [x9, x13, lsl #2]
	mov	w14, #249
	lsr	x14, x14, x13
	tbnz	w14, #0, LBB0_15
; %bb.5:
	mov	w14, #3842
	lsr	x13, x14, x13
	tbnz	w13, #0, LBB0_7
; %bb.6:
	sxtw	x11, w12
	str	w8, [x0, x11, lsl #2]
	ldr	w11, [x10]
LBB0_7:
	add	w12, w11, #2
	ldrsw	x13, [x0, w12, sxtw #2]
	ldr	w8, [x9, x13, lsl #2]
	mov	w14, #249
	lsr	x14, x14, x13
	tbnz	w14, #0, LBB0_15
; %bb.8:
	mov	w14, #3842
	lsr	x13, x14, x13
	tbnz	w13, #0, LBB0_10
; %bb.9:
	sxtw	x11, w12
	str	w8, [x0, x11, lsl #2]
	ldr	w11, [x10]
LBB0_10:
	add	w10, w11, #3
	ldrsw	x11, [x0, w10, sxtw #2]
	ldr	w8, [x9, x11, lsl #2]
	mov	w9, #249
	lsr	x9, x9, x11
	tbnz	w9, #0, LBB0_15
; %bb.11:
	mov	w9, #3842
	lsr	x9, x9, x11
	tbnz	w9, #0, LBB0_13
; %bb.12:
	sxtw	x9, w10
	str	w8, [x0, x9, lsl #2]
LBB0_13:
	mov	w8, #34952
	bics	wzr, w8, w3
	b.ne	LBB0_16
LBB0_14:
	mov	w9, #0
	b	LBB0_34
LBB0_15:
Lloh5:
	adrp	x9, _AV_LOG_ERROR@GOTPAGE
Lloh6:
	ldr	x9, [x9, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
Lloh8:
	adrp	x2, l_.str@PAGE
Lloh9:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_33
LBB0_16:
Lloh10:
	adrp	x8, _scan8@GOTPAGE
Lloh11:
	ldr	x8, [x8, _scan8@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x8]
	tbnz	w3, #15, LBB0_20
; %bb.17:
	ldrsw	x10, [x9]
	ldrsw	x11, [x0, x10, lsl #2]
Lloh13:
	adrp	x8, _ff_h264_check_intra4x4_pred_mode.left@PAGE
Lloh14:
	add	x8, x8, _ff_h264_check_intra4x4_pred_mode.left@PAGEOFF
	ldr	w8, [x8, x11, lsl #2]
	mov	w12, #370
	lsr	x12, x12, x11
	tbnz	w12, #0, LBB0_32
; %bb.18:
	mov	w12, #3209
	lsr	x11, x12, x11
	tbnz	w11, #0, LBB0_20
; %bb.19:
	str	w8, [x0, x10, lsl #2]
LBB0_20:
	tbnz	w3, #13, LBB0_24
; %bb.21:
	ldrsw	x8, [x9]
	add	x10, x8, #8
	ldrsw	x11, [x0, x10, lsl #2]
Lloh15:
	adrp	x8, _ff_h264_check_intra4x4_pred_mode.left@PAGE
Lloh16:
	add	x8, x8, _ff_h264_check_intra4x4_pred_mode.left@PAGEOFF
	ldr	w8, [x8, x11, lsl #2]
	mov	w12, #370
	lsr	x12, x12, x11
	tbnz	w12, #0, LBB0_32
; %bb.22:
	mov	w12, #3209
	lsr	x11, x12, x11
	tbnz	w11, #0, LBB0_24
; %bb.23:
	str	w8, [x0, x10, lsl #2]
LBB0_24:
	tbnz	w3, #7, LBB0_28
; %bb.25:
	ldrsw	x8, [x9]
	add	x10, x8, #16
	ldrsw	x11, [x0, x10, lsl #2]
Lloh17:
	adrp	x8, _ff_h264_check_intra4x4_pred_mode.left@PAGE
Lloh18:
	add	x8, x8, _ff_h264_check_intra4x4_pred_mode.left@PAGEOFF
	ldr	w8, [x8, x11, lsl #2]
	mov	w12, #370
	lsr	x12, x12, x11
	tbnz	w12, #0, LBB0_32
; %bb.26:
	mov	w12, #3209
	lsr	x11, x12, x11
	tbnz	w11, #0, LBB0_28
; %bb.27:
	str	w8, [x0, x10, lsl #2]
LBB0_28:
	tbnz	w3, #5, LBB0_14
; %bb.29:
	ldrsw	x8, [x9]
	add	x10, x8, #24
	ldrsw	x9, [x0, x10, lsl #2]
Lloh19:
	adrp	x8, _ff_h264_check_intra4x4_pred_mode.left@PAGE
Lloh20:
	add	x8, x8, _ff_h264_check_intra4x4_pred_mode.left@PAGEOFF
	ldr	w8, [x8, x9, lsl #2]
	mov	w11, #370
	lsr	x11, x11, x9
	tbnz	w11, #0, LBB0_32
; %bb.30:
	mov	w11, #3209
	lsr	x9, x11, x9
	tbnz	w9, #0, LBB0_14
; %bb.31:
	mov	w9, #0
	str	w8, [x0, x10, lsl #2]
	b	LBB0_34
LBB0_32:
Lloh21:
	adrp	x9, _AV_LOG_ERROR@GOTPAGE
Lloh22:
	ldr	x9, [x9, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
Lloh24:
	adrp	x2, l_.str.1@PAGE
Lloh25:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_33:
	mov	x0, x1
	mov	x1, x9
	mov	x3, x8
	bl	_av_log
Lloh26:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh27:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x8]
LBB0_34:
	mov	x0, x9
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @ff_h264_check_intra4x4_pred_mode.top
_ff_h264_check_intra4x4_pred_mode.top:
	.long	4294967295                      ; 0xffffffff
	.long	0                               ; 0x0
	.long	129                             ; 0x81
	.long	4294967295                      ; 0xffffffff
	.long	4294967295                      ; 0xffffffff
	.long	4294967295                      ; 0xffffffff
	.long	4294967295                      ; 0xffffffff
	.long	4294967295                      ; 0xffffffff
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0

	.p2align	2                               ; @ff_h264_check_intra4x4_pred_mode.left
_ff_h264_check_intra4x4_pred_mode.left:
	.long	0                               ; 0x0
	.long	4294967295                      ; 0xffffffff
	.long	128                             ; 0x80
	.long	0                               ; 0x0
	.long	4294967295                      ; 0xffffffff
	.long	4294967295                      ; 0xffffffff
	.long	4294967295                      ; 0xffffffff
	.long	0                               ; 0x0
	.long	4294967295                      ; 0xffffffff
	.long	130                             ; 0x82
	.long	0                               ; 0x0
	.long	0                               ; 0x0

	.comm	_scan8,8,3                      ; @scan8
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"top block unavailable for requested intra mode %d\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
l_.str.1:                               ; @.str.1
	.asciz	"left block unavailable for requested intra4x4 mode %d\n"

.subsections_via_symbols
