	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fixhandsize2
_fixhandsize2:                          ## @fixhandsize2
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	movq	_PUFFS_FHFLAG_NFSV3@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.1:
	movslq	4(%rdi), %rcx
	imulq	$-2004318071, %rcx, %rdx        ## imm = 0x88888889
	shrq	$32, %rdx
	addl	%ecx, %edx
	movl	%edx, %esi
	shrl	$31, %esi
	sarl	$5, %edx
	addl	%esi, %edx
	imull	$60, %edx, %edx
	subl	%edx, %ecx
	movl	%ecx, 4(%rdi)
LBB0_2:
	movq	_PUFFS_FHFLAG_NFSV2@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.3:
	movslq	4(%rdi), %rax
	imulq	$-1840700269, %rax, %rcx        ## imm = 0x92492493
	shrq	$32, %rcx
	addl	%eax, %ecx
	movl	%ecx, %edx
	shrl	$31, %edx
	sarl	$4, %ecx
	addl	%edx, %ecx
	leal	(%rcx,%rcx,8), %edx
	leal	(%rdx,%rdx,2), %edx
	addl	%ecx, %edx
	subl	%edx, %eax
	movl	%eax, 4(%rdi)
LBB0_4:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PUFFS_FHFLAG_NFSV3,4,2         ## @PUFFS_FHFLAG_NFSV3
	.comm	_PUFFS_FHFLAG_NFSV2,4,2         ## @PUFFS_FHFLAG_NFSV2
	.no_dead_strip	_fixhandsize2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fixhandsize2
_fixhandsize2:                          ; @fixhandsize2
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _PUFFS_FHFLAG_NFSV3@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PUFFS_FHFLAG_NFSV3@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldrsw	x9, [x0, #4]
	mov	x10, #-30583
	movk	x10, #34952, lsl #16
	mul	x10, x9, x10
	lsr	x10, x10, #32
	add	w10, w10, w9
	asr	w11, w10, #5
	add	w10, w11, w10, lsr #31
	mov	w11, #60
	msub	w9, w10, w11, w9
	str	w9, [x0, #4]
LBB0_2:
Lloh3:
	adrp	x9, _PUFFS_FHFLAG_NFSV2@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PUFFS_FHFLAG_NFSV2@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	ldrsw	x8, [x0, #4]
	mov	x9, #-56173
	movk	x9, #37449, lsl #16
	mul	x9, x8, x9
	lsr	x9, x9, #32
	add	w9, w9, w8
	asr	w10, w9, #4
	add	w9, w10, w9, lsr #31
	mov	w10, #28
	msub	w8, w9, w10, w8
	str	w8, [x0, #4]
LBB0_4:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_PUFFS_FHFLAG_NFSV3,4,2         ; @PUFFS_FHFLAG_NFSV3
	.comm	_PUFFS_FHFLAG_NFSV2,4,2         ; @PUFFS_FHFLAG_NFSV2
	.no_dead_strip	_fixhandsize2
.subsections_via_symbols
