	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_g2d_set_v41_stretch            ## -- Begin function g2d_set_v41_stretch
	.p2align	4, 0x90
_g2d_set_v41_stretch:                   ## @g2d_set_v41_stretch
	.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	%rdx, %r14
	movq	%rsi, %rbx
	movq	_DEFAULT_SCALE_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SRC_SCALE_CTRL_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_w
	movl	(%rbx), %eax
	shll	$16, %eax
	cltd
	idivl	(%r14)
	movq	_SRC_XSCALE_REG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_w
	movl	4(%rbx), %eax
	shll	$16, %eax
	cltd
	idivl	4(%r14)
	movq	_SRC_YSCALE_REG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_w                              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DEFAULT_SCALE_MODE,4,2         ## @DEFAULT_SCALE_MODE
	.comm	_SRC_SCALE_CTRL_REG,4,2         ## @SRC_SCALE_CTRL_REG
	.comm	_SRC_XSCALE_REG,4,2             ## @SRC_XSCALE_REG
	.comm	_SRC_YSCALE_REG,4,2             ## @SRC_YSCALE_REG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_g2d_set_v41_stretch            ; -- Begin function g2d_set_v41_stretch
	.p2align	2
_g2d_set_v41_stretch:                   ; @g2d_set_v41_stretch
	.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, x2
	mov	x20, x1
Lloh0:
	adrp	x8, _DEFAULT_SCALE_MODE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DEFAULT_SCALE_MODE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _SRC_SCALE_CTRL_REG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SRC_SCALE_CTRL_REG@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_w
	ldr	w8, [x20]
	lsl	w8, w8, #16
	ldr	w9, [x19]
Lloh6:
	adrp	x10, _SRC_XSCALE_REG@GOTPAGE
Lloh7:
	ldr	x10, [x10, _SRC_XSCALE_REG@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x10]
	sdiv	w0, w8, w9
	bl	_w
	ldr	w8, [x20, #4]
	lsl	w8, w8, #16
	ldr	w9, [x19, #4]
	sdiv	w0, w8, w9
Lloh9:
	adrp	x8, _SRC_YSCALE_REG@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SRC_YSCALE_REG@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_w
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DEFAULT_SCALE_MODE,4,2         ; @DEFAULT_SCALE_MODE
	.comm	_SRC_SCALE_CTRL_REG,4,2         ; @SRC_SCALE_CTRL_REG
	.comm	_SRC_XSCALE_REG,4,2             ; @SRC_XSCALE_REG
	.comm	_SRC_YSCALE_REG,4,2             ; @SRC_YSCALE_REG
.subsections_via_symbols
