	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_STlib_updateMultIcon           ## -- Begin function STlib_updateMultIcon
	.p2align	4, 0x90
_STlib_updateMultIcon:                  ## @STlib_updateMultIcon
	.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	32(%rdi), %rax
	cmpq	$0, (%rax)
	je	LBB0_8
## %bb.1:
	movq	%rdi, %rbx
	movslq	(%rdi), %rcx
	movq	8(%rdi), %rax
	movl	(%rax), %eax
	cmpl	%eax, %ecx
	sete	%dil
	testq	%rsi, %rsi
	sete	%dl
	cmpl	$-1, %eax
	je	LBB0_8
## %bb.2:
	andb	%dil, %dl
	jne	LBB0_8
## %bb.3:
	cmpl	$-1, %ecx
	je	LBB0_7
## %bb.4:
	movl	16(%rbx), %r14d
	movq	24(%rbx), %rax
	movq	(%rax,%rcx,8), %rax
	movl	12(%rax), %edi
	callq	_SHORT
	subl	%eax, %r14d
	movl	20(%rbx), %r13d
	movq	24(%rbx), %rax
	movslq	(%rbx), %rcx
	movq	(%rax,%rcx,8), %rax
	movl	8(%rax), %edi
	callq	_SHORT
	subl	%eax, %r13d
	movq	24(%rbx), %rax
	movslq	(%rbx), %rcx
	movq	(%rax,%rcx,8), %rax
	movl	4(%rax), %edi
	callq	_SHORT
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	24(%rbx), %rax
	movslq	(%rbx), %rcx
	movq	(%rax,%rcx,8), %rax
	movl	(%rax), %edi
	callq	_SHORT
	movl	%eax, %r12d
	movq	_ST_Y@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	cmpl	%eax, %r13d
	jge	LBB0_6
## %bb.5:
	leaq	L_.str(%rip), %rdi
	callq	_I_Error
	movl	(%r15), %eax
LBB0_6:
	movl	%r13d, %esi
	subl	%eax, %esi
	movq	_BG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_FG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%r14d, %edi
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%r12d, %r8d
	movl	%r14d, %r9d
	pushq	%rax
	pushq	%r13
	callq	_V_CopyRect
	addq	$16, %rsp
	movq	8(%rbx), %rax
	movl	(%rax), %eax
LBB0_7:
	movl	16(%rbx), %edi
	movl	20(%rbx), %esi
	movq	_FG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	24(%rbx), %rcx
	cltq
	movq	(%rcx,%rax,8), %rcx
	callq	_V_DrawPatch
	movq	8(%rbx), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ST_Y,4,2                       ## @ST_Y
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"updateMultIcon: y - ST_Y < 0"

	.comm	_BG,4,2                         ## @BG
	.comm	_FG,4,2                         ## @FG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_STlib_updateMultIcon           ; -- Begin function STlib_updateMultIcon
	.p2align	2
_STlib_updateMultIcon:                  ; @STlib_updateMultIcon
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	ldr	x8, [x0, #32]
	ldr	x8, [x8]
	cbz	x8, LBB0_8
; %bb.1:
	mov	x19, x0
	ldrsw	x9, [x0]
	ldr	x8, [x0, #8]
	ldr	w8, [x8]
	cmp	x1, #0
	ccmp	w9, w8, #0, eq
	cset	w10, eq
	cmn	w8, #1
	b.eq	LBB0_8
; %bb.2:
	tbnz	w10, #0, LBB0_8
; %bb.3:
Lloh0:
	adrp	x24, _FG@GOTPAGE
Lloh1:
	ldr	x24, [x24, _FG@GOTPAGEOFF]
	cmn	w9, #1
	b.eq	LBB0_7
; %bb.4:
	ldr	w20, [x19, #16]
	ldr	x8, [x19, #24]
	ldr	x8, [x8, x9, lsl #3]
	ldr	w0, [x8, #12]
	bl	_SHORT
	sub	w20, w20, w0
	ldr	w21, [x19, #20]
	ldr	x8, [x19, #24]
	ldrsw	x9, [x19]
	ldr	x8, [x8, x9, lsl #3]
	ldr	w0, [x8, #8]
	bl	_SHORT
	sub	w21, w21, w0
	ldr	x8, [x19, #24]
	ldrsw	x9, [x19]
	ldr	x8, [x8, x9, lsl #3]
	ldr	w0, [x8, #4]
	bl	_SHORT
	mov	x22, x0
	ldr	x8, [x19, #24]
	ldrsw	x9, [x19]
	ldr	x8, [x8, x9, lsl #3]
	ldr	w0, [x8]
	bl	_SHORT
	mov	x23, x0
Lloh2:
	adrp	x25, _ST_Y@GOTPAGE
Lloh3:
	ldr	x25, [x25, _ST_Y@GOTPAGEOFF]
	ldr	w8, [x25]
	cmp	w21, w8
	b.ge	LBB0_6
; %bb.5:
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	bl	_I_Error
	ldr	w8, [x25]
LBB0_6:
	sub	w1, w21, w8
Lloh6:
	adrp	x8, _BG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BG@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	ldr	w7, [x24]
	mov	x0, x20
	mov	x3, x22
	mov	x4, x23
	mov	x5, x20
	mov	x6, x21
	bl	_V_CopyRect
	ldr	x8, [x19, #8]
	ldr	w8, [x8]
LBB0_7:
	ldp	w0, w1, [x19, #16]
	ldr	w2, [x24]
	ldr	x9, [x19, #24]
	ldr	x3, [x9, w8, sxtw #3]
	bl	_V_DrawPatch
	ldr	x8, [x19, #8]
	ldr	w8, [x8]
	str	w8, [x19]
LBB0_8:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ST_Y,4,2                       ; @ST_Y
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"updateMultIcon: y - ST_Y < 0"

	.comm	_BG,4,2                         ; @BG
	.comm	_FG,4,2                         ; @FG
.subsections_via_symbols
