	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_set_dimensions              ## -- Begin function ff_set_dimensions
	.p2align	4, 0x90
_ff_set_dimensions:                     ## @ff_set_dimensions
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movl	32(%rdi), %edx
	movq	_AV_PIX_FMT_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%r13d, %r13d
	movl	%esi, %edi
	movl	%r14d, %esi
	xorl	%r8d, %r8d
	movq	%rbx, %r9
	callq	_av_image_check_size2
	movl	%eax, %r12d
	testl	%eax, %eax
	cmovsl	%r13d, %r14d
	cmovsl	%r13d, %r15d
	movl	%r15d, (%rbx)
	movl	%r14d, 4(%rbx)
	movl	8(%rbx), %esi
	movl	%r15d, %edi
	callq	_AV_CEIL_RSHIFT
	movq	%rax, 24(%rbx)
	movl	8(%rbx), %esi
	movl	%r14d, %edi
	callq	_AV_CEIL_RSHIFT
	movq	%rax, 16(%rbx)
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_PIX_FMT_NONE,4,2            ## @AV_PIX_FMT_NONE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_set_dimensions              ; -- Begin function ff_set_dimensions
	.p2align	2
_ff_set_dimensions:                     ; @ff_set_dimensions
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	w2, [x0, #32]
Lloh0:
	adrp	x8, _AV_PIX_FMT_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_PIX_FMT_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	x0, x1
	mov	x1, x19
	mov	w4, #0
	mov	x5, x21
	bl	_av_image_check_size2
	mov	x22, x0
	cmp	w0, #0
	csel	w19, wzr, w19, lt
	csel	w0, wzr, w20, lt
	stp	w0, w19, [x21]
	ldr	w1, [x21, #8]
	bl	_AV_CEIL_RSHIFT
	str	x0, [x21, #24]
	ldr	w1, [x21, #8]
	mov	x0, x19
	bl	_AV_CEIL_RSHIFT
	str	x0, [x21, #16]
	mov	x0, x22
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_PIX_FMT_NONE,4,2            ; @AV_PIX_FMT_NONE
.subsections_via_symbols
