	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mult
_mult:                                  ## @mult
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movl	(%rsi), %eax
	cmpl	(%rdx), %eax
	movq	%rdx, %r13
	cmovlq	%rsi, %r13
	cmovlq	%rdx, %r12
	movslq	(%r12), %rax
	movslq	(%r13), %rbx
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	(%rbx,%rax), %r15
	xorl	%esi, %esi
	cmpl	8(%r12), %r15d
	setg	%sil
	addl	4(%r12), %esi
	callq	_Balloc
	movq	16(%rax), %rdi
	testl	%r15d, %r15d
	movq	%rdi, %r14
	jle	LBB0_2
## %bb.1:
	leaq	(%rdi,%r15,4), %rdx
	leaq	4(%rdi), %rcx
	cmpq	%rcx, %rdx
	cmovaq	%rdx, %rcx
	movq	%rdi, %rdx
	notq	%rdx
	leaq	(%rcx,%rdx), %rsi
	addq	$4, %rsi
	andq	$-4, %rsi
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	callq	___bzero
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%r14, %rdi
LBB0_2:
	testl	%ebx, %ebx
	jle	LBB0_9
## %bb.3:
	movq	16(%r12), %r12
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%r12,%rcx,4), %r10
	movq	16(%r13), %r9
	leaq	(%r9,%rbx,4), %r8
	movq	%rdi, %rsi
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	addq	$4, %rsi
	cmpq	%r8, %r9
	jae	LBB0_9
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movl	(%r9), %r11d
	addq	$4, %r9
	testl	%r11d, %r11d
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	xorl	%ebx, %ebx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r12,%rbx), %ecx
	addl	(%rsi,%rbx), %edx
	imull	%r11d, %ecx
	addl	%ecx, %edx
	movzwl	%dx, %ecx
	sarl	$16, %edx
	movl	%ecx, (%rsi,%rbx)
	leaq	(%r12,%rbx), %rcx
	addq	$4, %rcx
	addq	$4, %rbx
	cmpq	%r10, %rcx
	jb	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	%edx, (%rsi,%rbx)
	movq	%r14, %rdi
	jmp	LBB0_8
LBB0_9:
	testl	%r15d, %r15d
	jle	LBB0_14
## %bb.10:
	leaq	(%rdi,%r15,4), %rdx
	addq	$-4, %rdx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%rdx)
	jne	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	leal	-1(%r15), %ecx
	addq	$-4, %rdx
	cmpl	$1, %r15d
	movl	%ecx, %r15d
	jg	LBB0_11
## %bb.13:
	xorl	%r15d, %r15d
LBB0_14:
	movl	%r15d, (%rax)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FFFFFFFF,4,2                   ## @FFFFFFFF
	.no_dead_strip	_mult
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mult
_mult:                                  ; @mult
	.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	w8, [x1]
	ldr	w9, [x2]
	cmp	w8, w9
	csel	x24, x1, x2, lt
	csel	x25, x2, x1, lt
	ldp	w22, w8, [x25]
                                        ; kill: def $w22 killed $w22 def $x22
	sxtw	x22, w22
	ldrsw	x23, [x24]
	ldr	w9, [x25, #8]
	add	w21, w23, w22
	cmp	w21, w9
	cinc	w1, w8, gt
	bl	_Balloc
	mov	x19, x0
	ldr	x20, [x0, #16]
	cmp	w21, #1
	b.lt	LBB0_2
; %bb.1:
	sxtw	x8, w21
	add	x8, x20, x8, lsl #2
	add	x9, x20, #4
	cmp	x8, x9
	csel	x8, x8, x9, hi
	mvn	x9, x20
	add	x8, x8, x9
	add	x8, x8, #4
	and	x1, x8, #0xfffffffffffffffc
	mov	x0, x20
	bl	_bzero
LBB0_2:
	cmp	w23, #1
	b.lt	LBB0_9
; %bb.3:
	ldr	x8, [x25, #16]
	add	x9, x8, x22, lsl #2
	ldr	x10, [x24, #16]
	add	x11, x10, x23, lsl #2
	mov	x12, x20
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x12, x12, #4
	cmp	x10, x11
	b.hs	LBB0_9
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	ldr	w13, [x10], #4
	cbz	w13, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x14, #0
	mov	w15, #0
LBB0_7:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w16, [x8, x14]
	ldr	w17, [x12, x14]
	add	w15, w17, w15
	madd	w16, w16, w13, w15
	asr	w15, w16, #16
	and	w16, w16, #0xffff
	str	w16, [x12, x14]
	add	x14, x14, #4
	add	x16, x8, x14
	cmp	x16, x9
	b.lo	LBB0_7
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	str	w15, [x12, x14]
	b	LBB0_4
LBB0_9:
	cmp	w21, #1
	b.lt	LBB0_14
; %bb.10:
	add	x8, x22, x23
	add	x8, x20, x8, lsl #2
	sub	x8, x8, #4
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x8]
	cbnz	w9, LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	sub	x8, x8, #4
	subs	w21, w21, #1
	b.gt	LBB0_11
; %bb.13:
	mov	w21, #0
LBB0_14:
	str	w21, [x19]
	mov	x0, x19
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_FFFFFFFF,4,2                   ; @FFFFFFFF
	.no_dead_strip	_mult
.subsections_via_symbols
