	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wrp_mul
_wrp_mul:                               ## @wrp_mul
	.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
	movl	%ecx, %r12d
	movl	%edx, -56(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r14
	movq	%rdi, %r15
	movl	16(%rsi), %ebx
	leal	(%rbx,%rbx), %r13d
	movl	%r13d, %edi
	callq	_reg_a
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	leal	(%rbx,%rbx), %edi
	incl	%edi
	callq	_reg_both
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	%r13d, %edi
	callq	_reg_both
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	(%r14), %r13
	testl	%r12d, %r12d
	je	LBB0_2
## %bb.1:
	movl	20(%r14), %edi
	addl	%edi, %edi
	callq	_reg_b
	movq	8(%r14), %rbx
	jmp	LBB0_3
LBB0_2:
	movq	24(%r14), %rbx
	movq	%r15, %rdi
	callq	_imm_b
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_ur_load_imm_any
LBB0_3:
	movq	_U16_MAX@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %r13
	jg	LBB0_5
## %bb.4:
	cmpq	%rcx, %rbx
	jg	LBB0_5
## %bb.6:
	movq	%r15, %rdi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movl	%eax, %r8d
	callq	_wrp_mul_u16
	jmp	LBB0_7
LBB0_5:
	movq	%r15, %rdi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movl	%eax, %r8d
	movl	-56(%rbp), %r9d                 ## 4-byte Reload
	callq	_wrp_mul_u32
LBB0_7:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_U16_MAX,8,3                    ## @U16_MAX
	.no_dead_strip	_wrp_mul
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wrp_mul
_wrp_mul:                               ; @wrp_mul
	.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
	mov	x25, x3
	mov	x19, x2
	mov	x24, x1
	mov	x20, x0
	ldr	w22, [x1, #16]
	lsl	w23, w22, #1
	mov	x0, x23
	bl	_reg_a
	mov	x21, x0
	mov	w0, #1
	bfi	w0, w22, #1, #31
	bl	_reg_both
	mov	x22, x0
	mov	x0, x23
	bl	_reg_both
	mov	x23, x0
	ldr	x26, [x24]
	cbz	w25, LBB0_2
; %bb.1:
	ldr	w8, [x24, #20]
	lsl	w0, w8, #1
	bl	_reg_b
	mov	x4, x0
	ldr	x24, [x24, #8]
	b	LBB0_3
LBB0_2:
	ldr	x24, [x24, #24]
	mov	x0, x20
	bl	_imm_b
	mov	x2, x0
	mov	x0, x20
	mov	x1, x24
	bl	_ur_load_imm_any
	mov	x4, x0
LBB0_3:
Lloh0:
	adrp	x8, _U16_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _U16_MAX@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x26, x8
	mov	x0, x20
	mov	x1, x22
	mov	x2, x23
	mov	x3, x21
	ccmp	x24, x8, #0, le
	b.le	LBB0_5
; %bb.4:
	mov	x5, x19
	bl	_wrp_mul_u32
	b	LBB0_6
LBB0_5:
	bl	_wrp_mul_u16
LBB0_6:
	mov	w0, #0
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_U16_MAX,8,3                    ; @U16_MAX
	.no_dead_strip	_wrp_mul
.subsections_via_symbols
