	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function reglsop
_reglsop:                               ## @reglsop
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $esi killed $esi def $rsi
	movq	_UT32_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	(%rdi), %rax
	movq	_ARM_REG32@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	testl	%ecx, 16(%rax)
	jne	LBB0_20
## %bb.1:
	leal	-64(%rsi), %r12d
	testl	%ecx, (%rax)
	cmovel	%esi, %r12d
	movq	_ARM_GPR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 36(%rax)
	je	LBB0_3
## %bb.2:
	addl	$6823936, %r12d                 ## imm = 0x682000
	movl	8(%rax), %ecx
	movl	24(%rax), %edx
	shll	$24, %ecx
	movl	%edx, %esi
	shll	$29, %esi
	orl	%ecx, %esi
	andl	$56, %edx
	shll	$13, %edx
	orl	%esi, %edx
	movl	40(%rax), %r15d
	shll	$8, %r15d
	orl	%edx, %r15d
	orl	%r12d, %r15d
	jmp	LBB0_20
LBB0_3:
	movl	44(%rax), %r14d
	leal	-257(%r14), %eax
	cmpl	$-513, %eax                     ## imm = 0xFDFF
	jb	LBB0_20
## %bb.4:
	movq	%rdi, %rbx
	testl	%r14d, %r14d
	je	LBB0_7
## %bb.5:
	jle	LBB0_8
## %bb.6:
	movl	%r14d, %edi
	callq	_countTrailingZeros
	cmpl	$4, %eax
	jl	LBB0_8
LBB0_7:
	incl	%r12d
LBB0_8:
	movq	(%rbx), %rax
	movl	8(%rax), %ecx
	movl	24(%rax), %r15d
	shll	$24, %ecx
	movl	%r15d, %edx
	shll	$29, %edx
	orl	%r12d, %edx
	andl	$56, %r15d
	shll	$13, %r15d
	orl	%ecx, %r15d
	orl	%edx, %r15d
	testl	%r14d, %r14d
	js	LBB0_9
## %bb.13:
	movl	(%r13), %ecx
	testl	%ecx, (%rax)
	je	LBB0_18
## %bb.14:
	movl	%r14d, %edi
	callq	_countTrailingZeros
	cmpl	$1, %eax
	jg	LBB0_16
## %bb.15:
	movl	%r14d, %ecx
	andl	$15, %ecx
	shll	$20, %ecx
	movl	%r14d, %eax
	andl	$-16, %eax
	shll	$4, %eax
	orl	%ecx, %eax
	jmp	LBB0_17
LBB0_9:
	movl	%r14d, %ebx
	negl	%ebx
	andl	$15, %r14d
	shll	$20, %r14d
	orl	%r14d, %r15d
	movl	%ebx, %edi
	callq	_countTrailingZeros
	andl	$-16, %ebx
	shll	$4, %ebx
	cmpl	$4, %eax
	jl	LBB0_12
## %bb.10:
	movl	$8192, %eax                     ## imm = 0x2000
	jmp	LBB0_11
LBB0_18:
	movl	%r14d, %ebx
	andl	$15, %ebx
	shll	$20, %ebx
	movl	%r14d, %edi
	callq	_countTrailingZeros
	movl	%r14d, %ecx
	andl	$-16, %ecx
	shll	$4, %ecx
	shll	$15, %r14d
	movl	%r14d, %edx
	andl	$8355840, %edx                  ## imm = 0x7F8000
	cmpl	$4, %eax
	cmovll	%ecx, %edx
	andl	$-8388608, %r14d                ## imm = 0xFF800000
	orl	%ebx, %r14d
	orl	%r15d, %r14d
	orl	%edx, %r14d
	jmp	LBB0_19
LBB0_16:
	incl	%r15d
	movzbl	%r14b, %eax
	shll	$16, %eax
LBB0_17:
	orl	%r15d, %eax
	andl	$-256, %r14d
	orl	%eax, %r14d
LBB0_19:
	movl	%r14d, %r15d
	jmp	LBB0_20
LBB0_12:
	movl	$7936, %eax                     ## imm = 0x1F00
LBB0_11:
	subl	%ebx, %eax
	orl	%eax, %r15d
LBB0_20:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	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	_reglsop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function reglsop
_reglsop:                               ; @reglsop
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x0
Lloh0:
	adrp	x8, _UT32_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UT32_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	x8, [x20]
	ldr	w10, [x8, #16]
Lloh3:
	adrp	x21, _ARM_REG32@GOTPAGE
Lloh4:
	ldr	x21, [x21, _ARM_REG32@GOTPAGEOFF]
	ldr	w9, [x21]
	tst	w9, w10
	b.ne	LBB0_16
; %bb.1:
	ldr	w10, [x8]
	sub	w11, w1, #64
	tst	w10, w9
	csel	w22, w1, w11, eq
	ldr	w9, [x8, #36]
Lloh5:
	adrp	x10, _ARM_GPR@GOTPAGE
Lloh6:
	ldr	x10, [x10, _ARM_GPR@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_3
; %bb.2:
	add	w9, w22, #1666, lsl #12         ; =6823936
	ldr	w10, [x8, #8]
	orr	w9, w9, w10, lsl #24
	ldr	w10, [x8, #24]
	orr	w9, w9, w10, lsl #29
	lsl	w10, w10, #13
	and	w10, w10, #0x70000
	orr	w9, w9, w10
	ldr	w8, [x8, #40]
	orr	w0, w9, w8, lsl #8
	b	LBB0_16
LBB0_3:
	ldr	w19, [x8, #44]
	sub	w8, w19, #257
	cmn	w8, #513
	b.lo	LBB0_16
; %bb.4:
	cbz	w19, LBB0_7
; %bb.5:
	cmp	w19, #1
	b.lt	LBB0_8
; %bb.6:
	mov	x0, x19
	bl	_countTrailingZeros
	cmp	w0, #4
	b.lt	LBB0_8
LBB0_7:
	add	w22, w22, #1
LBB0_8:
	ldr	x8, [x20]
	ldr	w9, [x8, #8]
	orr	w9, w22, w9, lsl #24
	ldr	w10, [x8, #24]
	orr	w9, w9, w10, lsl #29
	lsl	w10, w10, #13
	and	w10, w10, #0x70000
	orr	w22, w9, w10
	tbnz	w19, #31, LBB0_11
; %bb.9:
	ldr	w8, [x8]
	ldr	w9, [x21]
	tst	w9, w8
	b.eq	LBB0_13
; %bb.10:
	mov	x0, x19
	bl	_countTrailingZeros
	add	w8, w22, #1
	ubfiz	w9, w19, #16, #8
	orr	w8, w8, w9
	ubfiz	w9, w19, #20, #4
	lsl	w10, w19, #4
	and	w10, w10, #0xffffff00
	orr	w9, w10, w9
	orr	w9, w9, w22
	cmp	w0, #1
	csel	w8, w8, w9, gt
	and	w9, w19, #0xffffff00
	orr	w0, w8, w9
	b	LBB0_16
LBB0_11:
	neg	w20, w19
	ubfiz	w8, w19, #20, #4
	orr	w19, w22, w8
	mov	x0, x20
	bl	_countTrailingZeros
	lsl	w8, w20, #4
	and	w8, w8, #0xffffff00
	cmp	w0, #4
	b.lt	LBB0_14
; %bb.12:
	mov	w9, #8192
	b	LBB0_15
LBB0_13:
	ubfiz	w20, w19, #20, #4
	mov	x0, x19
	bl	_countTrailingZeros
	lsl	w8, w19, #4
	and	w8, w8, #0xffffff00
	lsl	w9, w19, #15
	and	w10, w9, #0x7f8000
	cmp	w0, #4
	csel	w8, w8, w10, lt
	and	w9, w9, #0xff800000
	orr	w9, w9, w20
	orr	w9, w9, w22
	orr	w0, w9, w8
	b	LBB0_16
LBB0_14:
	mov	w9, #7936
LBB0_15:
	sub	w8, w9, w8
	orr	w0, w19, w8
LBB0_16:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.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	_reglsop
.subsections_via_symbols
