	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function is_planar_yuv
_is_planar_yuv:                         ## @is_planar_yuv
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_AV_PIX_FMT_FLAG_BE@GOTPCREL(%rip), %rax
	movq	_AV_PIX_FMT_FLAG_PLANAR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_AV_PIX_FMT_FLAG_ALPHA@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	notl	%ecx
	xorl	%eax, %eax
	testl	%ecx, (%rdi)
	je	LBB0_1
LBB0_9:
	popq	%rbp
	retq
LBB0_1:
	movl	4(%rdi), %ecx
	cmpl	$3, %ecx
	jl	LBB0_9
## %bb.2:
	movq	8(%rdi), %rdx
	movq	32(%rdx), %rsi
	cmpq	64(%rdx), %rsi
	jne	LBB0_9
## %bb.3:
	addq	$24, %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, -16(%rdx)
	jne	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpq	$0, -8(%rdx)
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	(%rdx), %eax
	cmpq	%rax, %rsi
	jne	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_5 Depth=1
	incq	%rsi
	addq	$32, %rdx
	movl	$1, %eax
	cmpq	%rsi, %rcx
	jne	LBB0_5
	jmp	LBB0_9
LBB0_8:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_PIX_FMT_FLAG_BE,4,2         ## @AV_PIX_FMT_FLAG_BE
	.comm	_AV_PIX_FMT_FLAG_PLANAR,4,2     ## @AV_PIX_FMT_FLAG_PLANAR
	.comm	_AV_PIX_FMT_FLAG_ALPHA,4,2      ## @AV_PIX_FMT_FLAG_ALPHA
	.no_dead_strip	_is_planar_yuv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function is_planar_yuv
_is_planar_yuv:                         ; @is_planar_yuv
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _AV_PIX_FMT_FLAG_BE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AV_PIX_FMT_FLAG_BE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _AV_PIX_FMT_FLAG_PLANAR@GOTPAGE
Lloh4:
	ldr	x10, [x10, _AV_PIX_FMT_FLAG_PLANAR@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh6:
	adrp	x10, _AV_PIX_FMT_FLAG_ALPHA@GOTPAGE
Lloh7:
	ldr	x10, [x10, _AV_PIX_FMT_FLAG_ALPHA@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	orr	w9, w9, w10
	bics	wzr, w8, w9
	b.ne	LBB0_8
; %bb.1:
	ldr	w8, [x0, #4]
	cmp	w8, #3
	b.lt	LBB0_8
; %bb.2:
	ldr	x10, [x0, #8]
	ldr	x9, [x10, #32]
	ldr	x11, [x10, #64]
	cmp	x9, x11
	b.ne	LBB0_8
; %bb.3:
	mov	x9, #0
	add	x10, x10, #24
	mov	w0, #1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x11, [x10, #-16]
	cbnz	x11, LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldur	x11, [x10, #-8]
	cbnz	x11, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w11, [x10]
	cmp	x9, x11
	b.ne	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x9, x9, #1
	add	x10, x10, #32
	cmp	x8, x9
	b.ne	LBB0_4
	b	LBB0_9
LBB0_8:
	mov	w0, #0
LBB0_9:
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_PIX_FMT_FLAG_BE,4,2         ; @AV_PIX_FMT_FLAG_BE
	.comm	_AV_PIX_FMT_FLAG_PLANAR,4,2     ; @AV_PIX_FMT_FLAG_PLANAR
	.comm	_AV_PIX_FMT_FLAG_ALPHA,4,2      ; @AV_PIX_FMT_FLAG_ALPHA
	.no_dead_strip	_is_planar_yuv
.subsections_via_symbols
