	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pms_horzdeci
_pms_horzdeci:                          ## @pms_horzdeci
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	cmpl	$512, %edi                      ## imm = 0x200
	jg	LBB0_1
## %bb.2:
	movl	%edi, %ebx
	imull	$-13107, %edi, %eax             ## imm = 0xCCCD
	addl	$6553, %eax                     ## imm = 0x1999
	movzwl	%ax, %eax
	cmpl	$13106, %eax                    ## imm = 0x3332
	ja	LBB0_4
## %bb.3:
	movswl	%bx, %eax
	imull	$26215, %eax, %ebx              ## imm = 0x6667
	movl	%ebx, %eax
	shrl	$31, %eax
	sarl	$17, %ebx
	addl	%eax, %ebx
	movswl	%si, %eax
	imull	$26215, %eax, %esi              ## imm = 0x6667
	movl	%esi, %eax
	shrl	$31, %eax
	sarl	$17, %esi
	addl	%eax, %esi
	jmp	LBB0_4
LBB0_1:
	movw	$640, %si                       ## imm = 0x280
	movw	$512, %bx                       ## imm = 0x200
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movswl	%bx, %ebx
	sarl	%ebx
	movswl	%si, %esi
	sarl	%esi
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	%esi, %eax
	orl	%ebx, %eax
	testb	$1, %al
	je	LBB0_8
## %bb.5:
	cmpw	$33, %si
	jl	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movzwl	%si, %eax
	movl	%eax, %esi
	shrl	%esi
	movswl	%bx, %ebx
	incl	%ebx
	shrl	%ebx
	cmpw	$65, %ax
	ja	LBB0_6
LBB0_7:
	movl	%esi, %eax
	orl	$128, %eax
	cmpw	$32, %si
	movl	$159, %ecx
	cmovnel	%eax, %ecx
	movswl	%cx, %esi
	movl	$36, %edi
	callq	_mvv_write
	movswl	%bx, %esi
	movl	$37, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mvv_write                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_pms_horzdeci
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pms_horzdeci
_pms_horzdeci:                          ; @pms_horzdeci
	.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
	cmp	w0, #512
	b.gt	LBB0_3
; %bb.1:
	mov	x19, x0
	mov	w9, #26215
	mul	w8, w0, w9
	asr	w10, w8, #17
	add	w8, w10, w8, lsr #31
	add	w10, w8, w8, lsl #2
	sub	w10, w0, w10
	tst	w10, #0xffff
	b.ne	LBB0_5
; %bb.2:
	mul	w9, w1, w9
	asr	w10, w9, #17
	add	w1, w10, w9, lsr #31
	mov	x19, x8
	b	LBB0_5
LBB0_3:
	mov	w1, #640
	mov	w19, #512
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	sbfx	w19, w19, #1, #15
	sbfx	w1, w1, #1, #15
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	orr	w8, w1, w19
	tbz	w8, #0, LBB0_4
; %bb.6:
	cmp	w1, #33
	b.lt	LBB0_8
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	and	w8, w1, #0xffff
	ubfx	w1, w1, #1, #15
	sxth	w9, w19
	add	w9, w9, #1
	lsr	w19, w9, #1
	cmp	w8, #65
	b.hi	LBB0_7
LBB0_8:
	orr	w8, w1, #0x80
	mov	w9, #159
	cmp	w1, #32
	csel	w1, w9, w8, eq
	mov	w0, #36
	bl	_mvv_write
	sxth	w1, w19
	mov	w0, #37
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mvv_write
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_pms_horzdeci
.subsections_via_symbols
