	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function transpose_vaapi_vpp_config_output
_transpose_vaapi_vpp_config_output:     ## @transpose_vaapi_vpp_config_output
	.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, %r14
	movq	24(%rdi), %r15
	movq	(%r15), %rcx
	movq	8(%r15), %rax
	movq	(%rcx), %rbx
	movq	(%rbx), %rcx
	movq	8(%rbx), %rdx
	cmpq	%rdx, %rcx
	jl	LBB0_2
## %bb.1:
	movq	(%rax), %rsi
	movq	_TRANSPOSE_PT_TYPE_LANDSCAPE@GOTPCREL(%rip), %rdi
	cmpq	(%rdi), %rsi
	je	LBB0_4
LBB0_2:
	cmpq	%rdx, %rcx
	jg	LBB0_6
## %bb.3:
	movq	(%rax), %rsi
	movq	_TRANSPOSE_PT_TYPE_PORTRAIT@GOTPCREL(%rip), %rdi
	cmpq	(%rdi), %rsi
	jne	LBB0_6
LBB0_4:
	movl	16(%rbx), %edi
	callq	_av_buffer_ref
	movl	%eax, 16(%r14)
	testl	%eax, %eax
	je	LBB0_9
## %bb.5:
	movq	_AV_LOG_VERBOSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%rbx), %rcx
	movq	8(%rbx), %r8
	movq	%r8, (%rsp)
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rdi
	movq	%rcx, %r9
	xorl	%eax, %eax
	callq	_av_log
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	_TRANSPOSE_PT_TYPE_NONE@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movq	%rsi, (%rax)
	movl	8(%rax), %esi
	andl	$-4, %esi
	cmpl	$128, %esi
	jne	LBB0_8
## %bb.7:
	movq	%rdx, 16(%rax)
	movq	%rcx, 24(%rax)
	movq	_AV_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_av_log
LBB0_8:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ff_vaapi_vpp_config_output     ## TAILCALL
LBB0_9:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TRANSPOSE_PT_TYPE_LANDSCAPE,8,3 ## @TRANSPOSE_PT_TYPE_LANDSCAPE
	.comm	_TRANSPOSE_PT_TYPE_PORTRAIT,8,3 ## @TRANSPOSE_PT_TYPE_PORTRAIT
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_AV_LOG_VERBOSE,4,2             ## @AV_LOG_VERBOSE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"w:%d h:%d -> w:%d h:%d (passthrough mode)\n"

	.comm	_TRANSPOSE_PT_TYPE_NONE,8,3     ## @TRANSPOSE_PT_TYPE_NONE
	.comm	_AV_LOG_DEBUG,4,2               ## @AV_LOG_DEBUG
L_.str.1:                               ## @.str.1
	.asciz	"swap width and height for clock/cclock rotation\n"

	.no_dead_strip	_transpose_vaapi_vpp_config_output
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function transpose_vaapi_vpp_config_output
_transpose_vaapi_vpp_config_output:     ; @transpose_vaapi_vpp_config_output
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x0
	ldr	x19, [x0, #24]
	ldp	x9, x8, [x19]
	ldr	x21, [x9]
	ldp	x9, x10, [x21]
	cmp	x9, x10
	b.lt	LBB0_2
; %bb.1:
	ldr	x11, [x8]
Lloh0:
	adrp	x12, _TRANSPOSE_PT_TYPE_LANDSCAPE@GOTPAGE
Lloh1:
	ldr	x12, [x12, _TRANSPOSE_PT_TYPE_LANDSCAPE@GOTPAGEOFF]
Lloh2:
	ldr	x12, [x12]
	cmp	x11, x12
	b.eq	LBB0_4
LBB0_2:
	cmp	x9, x10
	b.gt	LBB0_6
; %bb.3:
	ldr	x11, [x8]
Lloh3:
	adrp	x12, _TRANSPOSE_PT_TYPE_PORTRAIT@GOTPAGE
Lloh4:
	ldr	x12, [x12, _TRANSPOSE_PT_TYPE_PORTRAIT@GOTPAGEOFF]
Lloh5:
	ldr	x12, [x12]
	cmp	x11, x12
	b.ne	LBB0_6
LBB0_4:
	ldr	w0, [x21, #16]
	bl	_av_buffer_ref
	str	w0, [x20, #16]
	cbz	w0, LBB0_9
; %bb.5:
Lloh6:
	adrp	x8, _AV_LOG_VERBOSE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AV_LOG_VERBOSE@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	ldp	x8, x9, [x21]
	stp	x8, x9, [sp, #16]
	stp	x8, x9, [sp]
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_av_log
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_6:
Lloh11:
	adrp	x11, _TRANSPOSE_PT_TYPE_NONE@GOTPAGE
Lloh12:
	ldr	x11, [x11, _TRANSPOSE_PT_TYPE_NONE@GOTPAGEOFF]
Lloh13:
	ldr	x11, [x11]
	str	x11, [x8]
	ldr	w11, [x8, #8]
	and	w11, w11, #0xfffffffc
	cmp	w11, #128
	b.ne	LBB0_8
; %bb.7:
	stp	x10, x9, [x8, #16]
Lloh14:
	adrp	x8, _AV_LOG_DEBUG@GOTPAGE
Lloh15:
	ldr	x8, [x8, _AV_LOG_DEBUG@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
Lloh17:
	adrp	x2, l_.str.1@PAGE
Lloh18:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_av_log
LBB0_8:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_ff_vaapi_vpp_config_output
LBB0_9:
Lloh19:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_AVERROR
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_TRANSPOSE_PT_TYPE_LANDSCAPE,8,3 ; @TRANSPOSE_PT_TYPE_LANDSCAPE
	.comm	_TRANSPOSE_PT_TYPE_PORTRAIT,8,3 ; @TRANSPOSE_PT_TYPE_PORTRAIT
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_AV_LOG_VERBOSE,4,2             ; @AV_LOG_VERBOSE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"w:%d h:%d -> w:%d h:%d (passthrough mode)\n"

	.comm	_TRANSPOSE_PT_TYPE_NONE,8,3     ; @TRANSPOSE_PT_TYPE_NONE
	.comm	_AV_LOG_DEBUG,4,2               ; @AV_LOG_DEBUG
l_.str.1:                               ; @.str.1
	.asciz	"swap width and height for clock/cclock rotation\n"

	.no_dead_strip	_transpose_vaapi_vpp_config_output
.subsections_via_symbols
