	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function config_overlay_input
_config_overlay_input:                  ## @config_overlay_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	%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
	movq	%rdi, %rbx
	movq	16(%rdi), %r14
	movq	(%r14), %r15
	movq	16(%r15), %r13
	movq	_AV_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	callq	_FF_INLINK_IDX
	movl	%eax, %r12d
	movl	8(%rbx), %edi
	callq	_av_get_pix_fmt_name
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r12d, %ecx
	movl	%eax, %r8d
	callq	_av_log
	movl	4(%rbx), %eax
	movq	8(%r15), %rcx
	movq	_VAR_OVERLAY_iW@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%eax, (%rcx,%rdx,4)
	movl	(%rbx), %eax
	movq	_VAR_OVERLAY_iH@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%eax, (%rcx,%rdx,4)
	movq	%r14, %rdi
	callq	_eval_expr
	testl	%eax, %eax
	js	LBB0_2
## %bb.1:
	movq	8(%r15), %rax
	movq	_VAR_OX@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %ecx
	movl	%ecx, 52(%r13)
	movq	_VAR_OY@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %ecx
	movl	%ecx, 48(%r13)
	movq	_VAR_OW@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %ecx
	movl	%ecx, 44(%r13)
	movq	_VAR_OH@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %eax
	movl	%eax, 40(%r13)
	movl	(%r15), %eax
	movl	%eax, 28(%r13)
	xorl	%ecx, %ecx
	cmpl	$255, %eax
	setl	%cl
	movl	%ecx, 32(%r13)
	movq	%rbx, %rdi
	callq	_have_alpha_planar
	movl	%eax, 36(%r13)
	xorl	%eax, %eax
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_DEBUG,4,2               ## @AV_LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Input[%d] is of %s.\n"

	.comm	_VAR_OVERLAY_iW,8,3             ## @VAR_OVERLAY_iW
	.comm	_VAR_OVERLAY_iH,8,3             ## @VAR_OVERLAY_iH
	.comm	_VAR_OX,8,3                     ## @VAR_OX
	.comm	_VAR_OY,8,3                     ## @VAR_OY
	.comm	_VAR_OW,8,3                     ## @VAR_OW
	.comm	_VAR_OH,8,3                     ## @VAR_OH
	.no_dead_strip	_config_overlay_input
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function config_overlay_input
_config_overlay_input:                  ; @config_overlay_input
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	ldr	x20, [x0, #16]
	ldr	x24, [x20]
	ldr	x23, [x24, #16]
Lloh0:
	adrp	x8, _AV_LOG_DEBUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_LOG_DEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	bl	_FF_INLINK_IDX
	mov	x22, x0
	ldr	w0, [x19, #8]
	bl	_av_get_pix_fmt_name
	mov	x4, x0
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	mov	x1, x21
	mov	x3, x22
	bl	_av_log
	ldr	w8, [x19, #4]
	ldr	x9, [x24, #8]
Lloh5:
	adrp	x10, _VAR_OVERLAY_iW@GOTPAGE
Lloh6:
	ldr	x10, [x10, _VAR_OVERLAY_iW@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
	str	w8, [x9, x10, lsl #2]
	ldr	w8, [x19]
Lloh8:
	adrp	x10, _VAR_OVERLAY_iH@GOTPAGE
Lloh9:
	ldr	x10, [x10, _VAR_OVERLAY_iH@GOTPAGEOFF]
Lloh10:
	ldr	x10, [x10]
	str	w8, [x9, x10, lsl #2]
	mov	x0, x20
	bl	_eval_expr
	tbnz	w0, #31, LBB0_2
; %bb.1:
	ldr	x8, [x24, #8]
Lloh11:
	adrp	x9, _VAR_OX@GOTPAGE
Lloh12:
	ldr	x9, [x9, _VAR_OX@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	ldr	w9, [x8, x9, lsl #2]
	str	w9, [x23, #52]
Lloh14:
	adrp	x9, _VAR_OY@GOTPAGE
Lloh15:
	ldr	x9, [x9, _VAR_OY@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	ldr	w9, [x8, x9, lsl #2]
	str	w9, [x23, #48]
Lloh17:
	adrp	x9, _VAR_OW@GOTPAGE
Lloh18:
	ldr	x9, [x9, _VAR_OW@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	ldr	w9, [x8, x9, lsl #2]
	str	w9, [x23, #44]
Lloh20:
	adrp	x9, _VAR_OH@GOTPAGE
Lloh21:
	ldr	x9, [x9, _VAR_OH@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	ldr	w8, [x8, x9, lsl #2]
	str	w8, [x23, #40]
	ldr	w8, [x24]
	cmp	w8, #255
	cset	w9, lt
	stp	w8, w9, [x23, #28]
	mov	x0, x19
	bl	_have_alpha_planar
	mov	x8, x0
	mov	w0, #0
	str	w8, [x23, #36]
LBB0_2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_DEBUG,4,2               ; @AV_LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Input[%d] is of %s.\n"

	.comm	_VAR_OVERLAY_iW,8,3             ; @VAR_OVERLAY_iW
	.comm	_VAR_OVERLAY_iH,8,3             ; @VAR_OVERLAY_iH
	.comm	_VAR_OX,8,3                     ; @VAR_OX
	.comm	_VAR_OY,8,3                     ; @VAR_OY
	.comm	_VAR_OW,8,3                     ; @VAR_OW
	.comm	_VAR_OH,8,3                     ; @VAR_OH
	.no_dead_strip	_config_overlay_input
.subsections_via_symbols
