	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function regsluop
_regsluop:                              ## @regsluop
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $esi killed $esi def $rsi
	movq	_UT32_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	(%rdi), %rax
	movq	_ARM_REG32@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	testl	%edx, 16(%rax)
	jne	LBB0_9
## %bb.1:
	leal	-64(%rsi), %ecx
	testl	%edx, (%rax)
	cmovel	%esi, %ecx
	movq	_ARM_GPR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, 36(%rax)
	jne	LBB0_9
## %bb.2:
	movl	40(%rax), %r14d
	leal	-256(%r14), %edx
	cmpl	$-512, %edx                     ## imm = 0xFE00
	jb	LBB0_9
## %bb.3:
	movl	12(%rax), %edx
	movl	28(%rax), %ebx
	shll	$24, %edx
	orl	%ecx, %edx
	movl	%ebx, %eax
	shll	$29, %eax
	andl	$56, %ebx
	shll	$13, %ebx
	orl	%eax, %ebx
	orl	%edx, %ebx
	testl	%r14d, %r14d
	js	LBB0_4
## %bb.8:
	movl	%r14d, %eax
	andl	$15, %eax
	shll	$20, %eax
	orl	%eax, %ebx
	movl	%r14d, %edi
	callq	_countTrailingZeros
	shll	$4, %r14d
	cmpl	$4, %eax
	movl	$-256, %eax
	movl	$4080, %ecx                     ## imm = 0xFF0
	cmovll	%eax, %ecx
	andl	%r14d, %ecx
	orl	%ecx, %ebx
	jmp	LBB0_9
LBB0_4:
	movl	%r14d, %r15d
	negl	%r15d
	andl	$15, %r14d
	shll	$20, %r14d
	orl	%r14d, %ebx
	movl	%r15d, %edi
	callq	_countTrailingZeros
	andl	$-16, %r15d
	shll	$4, %r15d
	cmpl	$4, %eax
	jl	LBB0_7
## %bb.5:
	movl	$8192, %eax                     ## imm = 0x2000
	jmp	LBB0_6
LBB0_7:
	movl	$7936, %eax                     ## imm = 0x1F00
LBB0_6:
	subl	%r15d, %eax
	orl	%eax, %ebx
LBB0_9:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UT32_MAX,4,2                   ## @UT32_MAX
	.comm	_ARM_REG32,4,2                  ## @ARM_REG32
	.comm	_ARM_GPR,4,2                    ## @ARM_GPR
	.no_dead_strip	_regsluop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function regsluop
_regsluop:                              ; @regsluop
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x8, x0
Lloh0:
	adrp	x9, _UT32_MAX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _UT32_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x9]
	ldr	x8, [x8]
	ldr	w10, [x8, #16]
Lloh3:
	adrp	x9, _ARM_REG32@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ARM_REG32@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w10
	b.ne	LBB0_9
; %bb.1:
	ldr	w10, [x8]
	sub	w11, w1, #64
	tst	w10, w9
	csel	w9, w1, w11, eq
	ldr	w10, [x8, #36]
Lloh6:
	adrp	x11, _ARM_GPR@GOTPAGE
Lloh7:
	ldr	x11, [x11, _ARM_GPR@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
	tst	w11, w10
	b.ne	LBB0_9
; %bb.2:
	ldr	w19, [x8, #40]
	sub	w10, w19, #256
	cmn	w10, #512
	b.lo	LBB0_9
; %bb.3:
	ldr	w10, [x8, #12]
	orr	w9, w9, w10, lsl #24
	ldr	w8, [x8, #28]
	orr	w9, w9, w8, lsl #29
	lsl	w8, w8, #13
	and	w8, w8, #0x70000
	orr	w8, w9, w8
	tbnz	w19, #31, LBB0_5
; %bb.4:
	ubfiz	w9, w19, #20, #4
	orr	w20, w8, w9
	mov	x0, x19
	bl	_countTrailingZeros
	mov	w8, #4080
	mov	w9, #-256
	cmp	w0, #4
	csel	w8, w9, w8, lt
	and	w8, w8, w19, lsl #4
	orr	w0, w20, w8
	b	LBB0_9
LBB0_5:
	neg	w20, w19
	ubfiz	w9, w19, #20, #4
	orr	w19, w8, w9
	mov	x0, x20
	bl	_countTrailingZeros
	lsl	w8, w20, #4
	and	w8, w8, #0xffffff00
	cmp	w0, #4
	b.lt	LBB0_7
; %bb.6:
	mov	w9, #8192
	b	LBB0_8
LBB0_7:
	mov	w9, #7936
LBB0_8:
	sub	w8, w9, w8
	orr	w0, w19, w8
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_UT32_MAX,4,2                   ; @UT32_MAX
	.comm	_ARM_REG32,4,2                  ; @ARM_REG32
	.comm	_ARM_GPR,4,2                    ; @ARM_GPR
	.no_dead_strip	_regsluop
.subsections_via_symbols
