	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function config_input
_config_input:                          ## @config_input
	.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
	movq	%rdi, %r14
	movq	24(%rdi), %rax
	movq	(%rax), %rbx
	leaq	32(%rbx), %rdi
	movl	16(%r14), %esi
	xorl	%edx, %edx
	cmpq	$0, 24(%rbx)
	je	LBB0_2
## %bb.1:
	movq	_FF_DRAW_PROCESS_ALPHA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
LBB0_2:
	callq	_ff_draw_init
	movl	12(%rbx), %edi
	movq	8(%r14), %rsi
	movsd	(%r14), %xmm0                   ## xmm0 = mem[0],zero
	callq	_ass_set_frame_size
	movq	16(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movsd	(%rbx), %xmm2                   ## xmm2 = mem[0],zero
	xorpd	%xmm0, %xmm0
	ucomisd	%xmm0, %xmm2
	jne	LBB0_4
	jnp	LBB0_5
LBB0_4:
	xorps	%xmm0, %xmm0
	cvtsi2sdq	8(%r14), %xmm0
	divsd	(%r14), %xmm0
	movl	12(%rbx), %edi
	cvtsi2sd	%rax, %xmm1
	divsd	%xmm2, %xmm1
	callq	_ass_set_aspect_ratio
LBB0_5:
	movl	8(%rbx), %esi
	cmpl	$-1, %esi
	je	LBB0_7
## %bb.6:
	movl	12(%rbx), %edi
	callq	_ass_set_shaper
LBB0_7:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FF_DRAW_PROCESS_ALPHA,4,2      ## @FF_DRAW_PROCESS_ALPHA
	.no_dead_strip	_config_input
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function config_input
_config_input:                          ; @config_input
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0, #24]
	ldr	x20, [x8]
	add	x0, x20, #32
	ldr	w1, [x19, #16]
	ldr	x8, [x20, #24]
Lloh0:
	adrp	x9, _FF_DRAW_PROCESS_ALPHA@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FF_DRAW_PROCESS_ALPHA@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	x8, #0
	csel	w2, wzr, w9, eq
	bl	_ff_draw_init
	ldr	w0, [x20, #12]
	ldr	x1, [x19, #8]
	ldr	d0, [x19]
	bl	_ass_set_frame_size
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	d1, [x20]
	fcmp	d1, #0.0
	b.eq	LBB0_3
; %bb.2:
	ldr	w0, [x20, #12]
	ldp	d2, d0, [x19]
	scvtf	d0, d0
	fdiv	d0, d0, d2
	scvtf	d2, x8
	fdiv	d1, d2, d1
	bl	_ass_set_aspect_ratio
LBB0_3:
	ldr	w1, [x20, #8]
	cmn	w1, #1
	b.eq	LBB0_5
; %bb.4:
	ldr	w0, [x20, #12]
	bl	_ass_set_shaper
LBB0_5:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FF_DRAW_PROCESS_ALPHA,4,2      ; @FF_DRAW_PROCESS_ALPHA
	.no_dead_strip	_config_input
.subsections_via_symbols
