	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dl_crypto_encode               ## -- Begin function dl_crypto_encode
	.p2align	4, 0x90
_dl_crypto_encode:                      ## @dl_crypto_encode
	.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
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movl	(%rdi), %esi
	movq	%rbx, %rdi
	callq	_encode_str
	movl	(%r15), %edx
	movl	24(%r15), %esi
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_apply_perm
	movl	4(%r15), %ebx
	movl	8(%r15), %r13d
	testl	%r13d, %r13d
	jle	LBB0_3
## %bb.1:
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_rand
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	movq	_N@GOTPCREL(%rip), %rcx
	divl	(%rcx)
	movb	%dl, (%r14,%r12)
	movl	%ebx, %eax
	imull	12(%r15), %eax
	movsbl	%dl, %ebx
	addl	%eax, %ebx
	incq	%r12
	movslq	8(%r15), %r13
	cmpq	%r13, %r12
	jl	LBB0_2
LBB0_3:
	movl	(%r15), %r12d
	testl	%r12d, %r12d
	movq	-48(%rbp), %r9                  ## 8-byte Reload
	jle	LBB0_8
## %bb.4:
	movl	$1, %esi
	movq	_N@GOTPCREL(%rip), %r8
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	-1(%r9,%rsi), %ecx
	movl	(%r8), %edi
	addl	%edi, %ecx
	movl	%ebx, %eax
	xorl	%edx, %edx
	divl	%edi
	subl	%edx, %ecx
	movl	%ecx, %eax
	xorl	%edx, %edx
	divl	%edi
	movslq	%r13d, %rax
	addq	%r14, %rax
	movb	%dl, -1(%rsi,%rax)
	movslq	(%r15), %r12
	cmpq	%r12, %rsi
	jge	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	imull	12(%r15), %ebx
	movsbl	-1(%r9,%rsi), %eax
	addl	%eax, %ebx
	movl	8(%r15), %r13d
	incq	%rsi
	jmp	LBB0_5
LBB0_7:
	movl	8(%r15), %r13d
LBB0_8:
	movl	20(%r15), %esi
	leal	(%r12,%r13), %edx
	movq	%r14, %rdi
	callq	_apply_perm
	addl	%r12d, %r13d
	jle	LBB0_11
## %bb.9:
	movl	%r13d, %r9d
	xorl	%ebx, %ebx
	movq	_N@GOTPCREL(%rip), %r8
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movsbl	(%r14,%rbx), %r10d
	movl	(%r8), %edi
	leal	(%rdi,%r10), %esi
	movl	%ecx, %eax
	xorl	%edx, %edx
	divl	%edi
	subl	%edx, %esi
	movl	%esi, %eax
	xorl	%edx, %edx
	divl	%edi
	movb	%dl, (%r14,%rbx)
	addl	%r10d, %ecx
	incq	%rbx
	cmpq	%rbx, %r9
	jne	LBB0_10
LBB0_11:
	movl	16(%r15), %esi
	movq	%r14, %rdi
	movl	%r13d, %edx
	callq	_apply_perm
	movq	%r14, %rdi
	movl	%r13d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_decode_str                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_N,4,2                          ## @N
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dl_crypto_encode               ; -- Begin function dl_crypto_encode
	.p2align	2
_dl_crypto_encode:                      ; @dl_crypto_encode
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	ldr	w1, [x0]
	mov	x0, x21
	bl	_encode_str
	ldr	w1, [x20, #24]
	ldr	w2, [x20]
	mov	x0, x21
	bl	_apply_perm
	ldp	w23, w8, [x20, #4]
Lloh0:
	adrp	x22, _N@GOTPAGE
Lloh1:
	ldr	x22, [x22, _N@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x24, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	bl	_rand
	ldr	w8, [x22]
	udiv	w9, w0, w8
	msub	w9, w9, w8, w0
	strb	w9, [x19, x24]
	ldp	w8, w10, [x20, #8]
                                        ; kill: def $w8 killed $w8 def $x8
	sxtw	x8, w8
	mul	w10, w10, w23
	add	w23, w10, w9, sxtb
	add	x24, x24, #1
	cmp	x24, x8
	b.lt	LBB0_2
LBB0_3:
	ldr	w10, [x20]
	cmp	w10, #1
	b.lt	LBB0_8
; %bb.4:
	mov	x9, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldrsb	w10, [x21, x9]
	ldr	w11, [x22]
	udiv	w12, w23, w11
	neg	w13, w23
	madd	w12, w12, w11, w13
	add	w10, w11, w10
	add	w10, w10, w12
	udiv	w12, w10, w11
	msub	w10, w12, w11, w10
	add	x8, x19, w8, sxtw
	strb	w10, [x8, x9]
	add	x11, x9, #1
	ldrsw	x10, [x20]
	cmp	x11, x10
	b.ge	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldrsb	w9, [x21, x9]
	ldp	w8, w10, [x20, #8]
	madd	w23, w10, w23, w9
	mov	x9, x11
	b	LBB0_5
LBB0_7:
	ldr	w8, [x20, #8]
LBB0_8:
	add	w21, w8, w10
	ldr	w1, [x20, #20]
	mov	x0, x19
	mov	x2, x21
	bl	_apply_perm
	cmp	w21, #1
	b.lt	LBB0_11
; %bb.9:
	mov	w8, #0
	mov	x9, x21
	mov	x10, x19
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldrsb	w11, [x10]
	ldr	w12, [x22]
	udiv	w13, w8, w12
	neg	w14, w8
	madd	w13, w13, w12, w14
	add	w14, w12, w11
	add	w13, w14, w13
	udiv	w14, w13, w12
	msub	w12, w14, w12, w13
	strb	w12, [x10], #1
	add	w8, w8, w11
	subs	x9, x9, #1
	b.ne	LBB0_10
LBB0_11:
	ldr	w1, [x20, #16]
	mov	x0, x19
	mov	x2, x21
	bl	_apply_perm
	mov	x0, x19
	mov	x1, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_decode_str
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_N,4,2                          ; @N
.subsections_via_symbols
