	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function arithmetic
_arithmetic:                            ## @arithmetic
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $esi killed $esi def $rsi
	movq	_UT32_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	$3, (%rdi)
	jl	LBB0_6
## %bb.1:
	movq	8(%rdi), %rcx
	movq	_ARM_GPR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, (%rcx)
	je	LBB0_6
## %bb.2:
	testl	%edx, 8(%rcx)
	je	LBB0_6
## %bb.3:
	movl	16(%rcx), %r8d
	leal	-6(%rsi), %eax
	testl	%edx, %r8d
	cmovel	%esi, %eax
	movl	4(%rcx), %edi
	movl	12(%rcx), %esi
	shll	$24, %edi
	addl	%eax, %edi
	movl	%esi, %eax
	shll	$29, %eax
	addl	%edi, %eax
	andl	$-8, %esi
	shll	$13, %esi
	addl	%eax, %esi
	movl	20(%rcx), %eax
	testl	%edx, %r8d
	je	LBB0_5
## %bb.4:
	shll	$8, %eax
	addl	%esi, %eax
LBB0_6:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_5:
	movl	%eax, %ecx
	andl	$63, %ecx
	shll	$18, %ecx
	addl	%esi, %ecx
	andl	$-64, %eax
	leal	(%rcx,%rax,4), %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UT32_MAX,4,2                   ## @UT32_MAX
	.comm	_ARM_GPR,4,2                    ## @ARM_GPR
	.no_dead_strip	_arithmetic
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function arithmetic
_arithmetic:                            ; @arithmetic
	.cfi_startproc
; %bb.0:
	mov	x8, x0
Lloh0:
	adrp	x9, _UT32_MAX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _UT32_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x9]
	ldr	w9, [x8]
	cmp	w9, #3
	b.lt	LBB0_6
; %bb.1:
	ldr	x8, [x8, #8]
	ldr	w10, [x8]
Lloh3:
	adrp	x9, _ARM_GPR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ARM_GPR@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w10
	b.eq	LBB0_6
; %bb.2:
	ldr	w10, [x8, #8]
	tst	w10, w9
	b.eq	LBB0_6
; %bb.3:
	sub	w10, w1, #6
	ldp	w12, w11, [x8, #12]
	ands	w11, w11, w9
	csel	w9, w1, w10, eq
	ldr	w10, [x8, #4]
	add	w9, w9, w10, lsl #24
	add	w9, w9, w12, lsl #29
	lsl	w10, w12, #13
	and	w10, w10, #0xffff0000
	add	w9, w9, w10
	ldr	w8, [x8, #20]
	cbz	w11, LBB0_5
; %bb.4:
	add	w0, w9, w8, lsl #8
	ret
LBB0_5:
	ubfiz	w10, w8, #18, #6
	lsl	w8, w8, #2
	and	w8, w8, #0xffffff00
	add	w9, w10, w9
	add	w0, w9, w8
LBB0_6:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_UT32_MAX,4,2                   ; @UT32_MAX
	.comm	_ARM_GPR,4,2                    ; @ARM_GPR
	.no_dead_strip	_arithmetic
.subsections_via_symbols
