	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function t5403_comp_pressure
_t5403_comp_pressure:                   ## @t5403_comp_pressure
	.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	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	callq	_mutex_lock
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_t5403_read
	movl	%eax, %r12d
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_t5403_read
	movl	%eax, %r13d
	testl	%eax, %eax
	js	LBB0_4
## %bb.3:
	movl	$3, %edi
	callq	_T5403_C_U16
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movl	%eax, %r14d
	movl	$4, %edi
	callq	_T5403_C_U16
                                        ## kill: def $eax killed $eax def $rax
	imull	%r12d, %eax
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	leal	131071(%rax), %ebx
	testl	%eax, %eax
	cmovnsl	%eax, %ebx
	sarl	$17, %ebx
	addl	%r14d, %ebx
	movl	$5, %edi
	callq	_T5403_C
                                        ## kill: def $eax killed $eax def $rax
	imull	%r12d, %eax
	leal	32767(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$15, %ecx
	imull	%r12d, %ecx
	leal	524287(%rcx), %r14d
	testl	%ecx, %ecx
	cmovnsl	%ecx, %r14d
	sarl	$19, %r14d
	addl	%ebx, %r14d
	movl	$9, %edi
	callq	_T5403_C
                                        ## kill: def $eax killed $eax def $rax
	imull	%r12d, %eax
	leal	32767(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$15, %ecx
	imull	%r12d, %ecx
	leal	32767(%rcx), %eax
	testl	%ecx, %ecx
	cmovnsl	%ecx, %eax
	sarl	$15, %eax
	imull	%r12d, %eax
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	leal	65535(%rax), %r15d
	testl	%eax, %eax
	cmovnsl	%eax, %r15d
	sarl	$16, %r15d
	addl	%r14d, %r15d
	movl	$6, %edi
	callq	_T5403_C
	movl	%eax, %r14d
	shll	$14, %r14d
	movl	$7, %edi
	callq	_T5403_C
                                        ## kill: def $eax killed $eax def $rax
	imull	%r12d, %eax
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	leal	7(%rax), %r13d
	testl	%eax, %eax
	cmovnsl	%eax, %r13d
	sarl	$3, %r13d
	addl	%r14d, %r13d
	movl	$8, %edi
	callq	_T5403_C
                                        ## kill: def $eax killed $eax def $rax
	imull	%r12d, %eax
	leal	32767(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$15, %ecx
	imull	%r12d, %ecx
	leal	15(%rcx), %ebx
	testl	%ecx, %ecx
	cmovnsl	%ecx, %ebx
	sarl	$4, %ebx
	addl	%r13d, %ebx
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	movl	$9, %edi
	callq	_T5403_C
                                        ## kill: def $eax killed $eax def $rax
	imull	%r12d, %eax
	leal	32767(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$15, %ecx
	imull	%r12d, %ecx
	leal	65535(%rcx), %eax
	testl	%ecx, %ecx
	cmovnsl	%ecx, %eax
	sarl	$16, %eax
	imull	%r12d, %eax
	imull	%r13d, %r15d
	addl	%ebx, %r15d
	movl	%r15d, %ecx
	addl	%eax, %ecx
	leal	16383(%rax,%r15), %r14d
	cmovnsl	%ecx, %r14d
	sarl	$14, %r14d
	leal	-75000(%r14), %ebx
	imull	%ebx, %ebx
	shrl	$16, %ebx
	addl	$-9537, %ebx                    ## imm = 0xDABF
	movl	$10, %edi
	callq	_T5403_C
                                        ## kill: def $eax killed $eax def $rax
	imull	%ebx, %eax
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	leal	65535(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$16, %ecx
	addl	%r14d, %ecx
	movslq	%ecx, %rax
	imulq	$274877907, %rax, %rcx          ## imm = 0x10624DD3
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$38, %rcx
	addl	%edx, %ecx
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	%ecx, (%rdx)
	imull	$1000, %ecx, %ecx               ## imm = 0x3E8
	subl	%ecx, %eax
	imull	$1000, %eax, %eax               ## imm = 0x3E8
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	jmp	LBB0_4
LBB0_1:
	movl	%r12d, %r13d
LBB0_4:
	movq	%rbx, %rdi
	callq	_mutex_unlock
	movl	%r13d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_t5403_comp_pressure
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function t5403_comp_pressure
_t5403_comp_pressure:                   ; @t5403_comp_pressure
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	bl	_mutex_lock
	mov	x0, x19
	mov	w1, #0
	bl	_t5403_read
	mov	x23, x0
	tbnz	w0, #31, LBB0_3
; %bb.1:
	mov	x0, x19
	mov	w1, #1
	bl	_t5403_read
	mov	x22, x0
	tbnz	w0, #31, LBB0_4
; %bb.2:
	mov	w0, #3
	bl	_T5403_C_U16
	mov	x24, x0
	mov	w0, #4
	bl	_T5403_C_U16
	mul	w8, w0, w23
	mov	w9, #131071
	add	w9, w8, w9
	cmp	w8, #0
	csel	w8, w9, w8, lt
	add	w24, w24, w8, asr #17
	mov	w0, #5
	bl	_T5403_C
	mul	w8, w0, w23
	mov	w25, #32767
	add	w9, w8, w25
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w8, w8, #15
	mul	w8, w8, w23
	mov	w9, #524287
	add	w9, w8, w9
	cmp	w8, #0
	csel	w8, w9, w8, lt
	add	w24, w24, w8, asr #19
	mov	w0, #9
	bl	_T5403_C
	mul	w8, w0, w23
	add	w9, w8, w25
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w8, w8, #15
	mul	w8, w8, w23
	add	w9, w8, w25
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w8, w8, #15
	mul	w8, w8, w23
	mov	w26, #65535
	add	w9, w8, w26
	cmp	w8, #0
	csel	w8, w9, w8, lt
	add	w27, w24, w8, asr #16
	mov	w0, #6
	bl	_T5403_C
	mov	x24, x0
	mov	w0, #7
	bl	_T5403_C
	mul	w8, w0, w23
	add	w9, w8, #7
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w8, w8, #3
	add	w24, w8, w24, lsl #14
	mov	w0, #8
	bl	_T5403_C
	mul	w8, w0, w23
	add	w9, w8, w25
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w8, w8, #15
	mul	w8, w8, w23
	add	w9, w8, #15
	cmp	w8, #0
	csel	w8, w9, w8, lt
	add	w24, w24, w8, asr #4
	mov	w0, #9
	bl	_T5403_C
	mul	w8, w0, w23
	add	w9, w8, w25
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w8, w8, #15
	mul	w8, w8, w23
	add	w9, w8, w26
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w8, w8, #16
	madd	w9, w27, w22, w24
	madd	w8, w8, w23, w9
	mov	w9, #16383
	add	w9, w8, w9
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w23, w8, #14
	sub	w8, w23, #18, lsl #12           ; =73728
	sub	w8, w8, #1272
	mul	w8, w8, w8
	mov	w9, #-9537
	add	w24, w9, w8, lsr #16
	mov	w0, #10
	bl	_T5403_C
	mul	w8, w24, w0
	add	w9, w8, w26
	cmp	w8, #0
	csel	w8, w9, w8, lt
	add	w8, w23, w8, asr #16
	mov	w9, #19923
	movk	w9, #4194, lsl #16
	smull	x9, w8, w9
	lsr	x10, x9, #63
	asr	x9, x9, #38
	add	w9, w9, w10
	str	w9, [x21]
	mov	w10, #1000
	msub	w8, w9, w10, w8
	mul	w8, w8, w10
	str	w8, [x20]
	b	LBB0_4
LBB0_3:
	mov	x22, x23
LBB0_4:
	mov	x0, x19
	bl	_mutex_unlock
	mov	x0, x22
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_t5403_comp_pressure
.subsections_via_symbols
