	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hp_output
_hp_output:                             ## @hp_output
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	testl	%r8d, %r8d
	jle	LBB0_9
## %bb.1:
	movq	%rdx, %r15
	movl	%r8d, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	4(%rdx), %ebx
	xorl	%r14d, %r14d
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	_INT32_MAX@GOTPCREL(%rip), %rax
LBB0_3:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	(%rax), %ebx
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	%ebx, %eax
	sarl	$16, %eax
	movl	%eax, (%r15)
	shrl	%ebx
	andl	$32767, %ebx                    ## imm = 0x7FFF
	movl	%ebx, 4(%r15)
	incq	%r14
	cmpq	%r14, -56(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_9
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movl	12(%r13), %esi
	movl	%ebx, %edi
	callq	_SPL_MUL_16_16
	movl	%eax, %ebx
	movl	12(%r15), %edi
	movl	16(%r13), %esi
	callq	_SPL_MUL_16_16
	movl	%eax, %r12d
	addl	%ebx, %r12d
	sarl	$15, %r12d
	movl	(%r15), %edi
	movl	12(%r13), %esi
	callq	_SPL_MUL_16_16
	movl	%eax, %ebx
	addl	%r12d, %ebx
	movl	8(%r15), %edi
	movl	16(%r13), %esi
	callq	_SPL_MUL_16_16
	movl	%eax, %r12d
	addl	%ebx, %r12d
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%r14,4), %edi
	movl	(%r13), %esi
	callq	_SPL_MUL_16_16
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rax,%r12,2), %ebx
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movl	(%r15), %edi
	movl	4(%r13), %esi
	callq	_SPL_MUL_16_16
	movl	%eax, %r12d
	addl	%ebx, %r12d
	movl	4(%r15), %edi
	movl	8(%r13), %esi
	callq	_SPL_MUL_16_16
                                        ## kill: def $eax killed $eax def $rax
	movl	(%r15), %ecx
	movl	%ecx, 4(%r15)
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movl	(%r13,%r14,4), %ecx
	movl	%ecx, (%r15)
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movl	%r12d, %ebx
	addl	%eax, %ebx
	leal	(%rax,%r12), %edi
	addl	$1024, %edi                     ## imm = 0x400
	movl	$26, %esi
	callq	_av_clip_intp2
	sarl	$11, %eax
	movl	%eax, (%r13,%r14,4)
	movq	(%r15), %rax
	movq	%rax, 8(%r15)
	cmpl	$268435456, %ebx                ## imm = 0x10000000
	jge	LBB0_2
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$-268435457, %ebx               ## imm = 0xEFFFFFFF
	jg	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_INT32_MIN@GOTPCREL(%rip), %rax
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	shll	$3, %ebx
	jmp	LBB0_4
LBB0_9:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INT32_MAX,4,2                  ## @INT32_MAX
	.comm	_INT32_MIN,4,2                  ## @INT32_MIN
	.no_dead_strip	_hp_output
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hp_output
_hp_output:                             ; @hp_output
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	cmp	w4, #1
	b.lt	LBB0_8
; %bb.1:
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	ldr	w0, [x2, #4]
	mov	w24, #268435456
Lloh0:
	adrp	x25, _INT32_MAX@GOTPAGE
Lloh1:
	ldr	x25, [x25, _INT32_MAX@GOTPAGEOFF]
	mov	w26, #-268435457
Lloh2:
	adrp	x27, _INT32_MIN@GOTPAGE
Lloh3:
	ldr	x27, [x27, _INT32_MIN@GOTPAGEOFF]
	mov	w28, w4
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x25]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	asr	w9, w8, #16
	ubfx	w0, w8, #1, #15
	stp	w9, w0, [x20]
	add	x22, x22, #4
	subs	x28, x28, #1
	b.eq	LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x21, #12]
	bl	_SPL_MUL_16_16
	mov	x23, x0
	ldr	w0, [x20, #12]
	ldr	w1, [x21, #16]
	bl	_SPL_MUL_16_16
	add	w23, w0, w23
	ldr	w0, [x20]
	ldr	w1, [x21, #12]
	bl	_SPL_MUL_16_16
	add	w23, w0, w23, asr #15
	ldr	w0, [x20, #8]
	ldr	w1, [x21, #16]
	bl	_SPL_MUL_16_16
	add	w23, w23, w0
	ldr	w0, [x22]
	ldr	w1, [x21]
	bl	_SPL_MUL_16_16
	add	w23, w0, w23, lsl #1
	ldr	w0, [x19]
	ldr	w1, [x21, #4]
	bl	_SPL_MUL_16_16
	add	w23, w23, w0
	ldr	w0, [x19, #4]
	ldr	w1, [x21, #8]
	bl	_SPL_MUL_16_16
	add	w23, w23, w0
	ldr	w8, [x19]
	str	w8, [x19, #4]
	ldr	w8, [x22]
	str	w8, [x19]
	add	w0, w23, #1024
	mov	w1, #26
	bl	_av_clip_intp2
	asr	w8, w0, #11
	str	w8, [x22]
	ldr	d0, [x20]
	str	d0, [x20, #8]
	cmp	w23, w24
	b.ge	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w23, w26
	b.gt	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x27]
	b	LBB0_3
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	lsl	w8, w23, #3
	b	LBB0_3
LBB0_8:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_INT32_MAX,4,2                  ; @INT32_MAX
	.comm	_INT32_MIN,4,2                  ; @INT32_MIN
	.no_dead_strip	_hp_output
.subsections_via_symbols
