	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function coda_reorder_enable
_coda_reorder_enable:                   ## @coda_reorder_enable
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %r14
	movq	8(%r14), %rax
	movq	(%rax), %rcx
	movq	_CODA_HX4@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	je	LBB0_3
## %bb.1:
	movq	_CODA_7541@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_3
## %bb.2:
	movq	_CODA_960@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_8
LBB0_3:
	movq	8(%rbx), %rcx
	movq	(%rcx), %rcx
	movq	_V4L2_PIX_FMT_JPEG@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_8
## %bb.4:
	movq	_V4L2_PIX_FMT_H264@GOTPCREL(%rip), %rdx
	movl	$1, %eax
	cmpq	(%rdx), %rcx
	jne	LBB0_8
## %bb.5:
	movl	(%rbx), %edi
	callq	_coda_h264_profile
	movl	%eax, %r15d
	testl	%eax, %eax
	jns	LBB0_7
## %bb.6:
	movl	(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_v4l2_warn
LBB0_7:
	movq	_V4L2_MPEG_VIDEO_H264_PROFILE_BASELINE@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpl	(%rcx), %r15d
	setg	%al
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CODA_HX4,8,3                   ## @CODA_HX4
	.comm	_CODA_7541,8,3                  ## @CODA_7541
	.comm	_CODA_960,8,3                   ## @CODA_960
	.comm	_V4L2_PIX_FMT_JPEG,8,3          ## @V4L2_PIX_FMT_JPEG
	.comm	_V4L2_PIX_FMT_H264,8,3          ## @V4L2_PIX_FMT_H264
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unknown H264 Profile: %u\n"

	.comm	_V4L2_MPEG_VIDEO_H264_PROFILE_BASELINE,4,2 ## @V4L2_MPEG_VIDEO_H264_PROFILE_BASELINE
	.no_dead_strip	_coda_reorder_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function coda_reorder_enable
_coda_reorder_enable:                   ; @coda_reorder_enable
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	ldr	x19, [x0, #16]
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _CODA_HX4@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CODA_HX4@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _CODA_7541@GOTPAGE
Lloh4:
	ldr	x10, [x10, _CODA_7541@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
Lloh6:
	adrp	x11, _CODA_960@GOTPAGE
Lloh7:
	ldr	x11, [x11, _CODA_960@GOTPAGEOFF]
Lloh8:
	ldr	x11, [x11]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	ccmp	x8, x11, #4, ne
	b.ne	LBB0_2
; %bb.1:
	mov	x20, x0
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
Lloh9:
	adrp	x9, _V4L2_PIX_FMT_JPEG@GOTPAGE
Lloh10:
	ldr	x9, [x9, _V4L2_PIX_FMT_JPEG@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
LBB0_2:
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh12:
	adrp	x9, _V4L2_PIX_FMT_H264@GOTPAGE
Lloh13:
	ldr	x9, [x9, _V4L2_PIX_FMT_H264@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.5:
	ldr	w0, [x20]
	bl	_coda_h264_profile
	mov	x21, x0
	tbz	w0, #31, LBB0_7
; %bb.6:
	ldr	w2, [x20]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_v4l2_warn
LBB0_7:
Lloh17:
	adrp	x8, _V4L2_MPEG_VIDEO_H264_PROFILE_BASELINE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _V4L2_MPEG_VIDEO_H264_PROFILE_BASELINE@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	cmp	w21, w8
	cset	w0, gt
	b	LBB0_3
LBB0_8:
	mov	w0, #1
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_CODA_HX4,8,3                   ; @CODA_HX4
	.comm	_CODA_7541,8,3                  ; @CODA_7541
	.comm	_CODA_960,8,3                   ; @CODA_960
	.comm	_V4L2_PIX_FMT_JPEG,8,3          ; @V4L2_PIX_FMT_JPEG
	.comm	_V4L2_PIX_FMT_H264,8,3          ; @V4L2_PIX_FMT_H264
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unknown H264 Profile: %u\n"

	.comm	_V4L2_MPEG_VIDEO_H264_PROFILE_BASELINE,4,2 ; @V4L2_MPEG_VIDEO_H264_PROFILE_BASELINE
	.no_dead_strip	_coda_reorder_enable
.subsections_via_symbols
