	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function calc_stdin
_calc_stdin:                            ## @calc_stdin
	.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
	subq	$152, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	40(%rdi), %r13
	movq	32(%rdi), %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	24(%rdi), %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movq	16(%rdi), %rax
	movq	%rax, -184(%rbp)                ## 8-byte Spill
	movq	(%rdi), %r15
	movq	8(%rdi), %rax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movq	_HCBUFSIZ_LARGE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rdi
	callq	_hcmalloc
	movq	%rax, %r12
	movl	4(%r13), %edi
	movl	8(%r13), %esi
	callq	_strcmp
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movl	4(%r13), %esi
	movl	8(%r13), %edi
	callq	_iconv_open
	movq	%rax, %rcx
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	cmpq	$-1, %rax
	je	LBB0_56
## %bb.2:
	movq	_HCBUFSIZ_TINY@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_hcmalloc
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	jmp	LBB0_4
LBB0_3:
	xorl	%eax, %eax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
LBB0_4:
	movl	(%r15), %eax
	movq	-128(%rbp), %rcx                ## 8-byte Reload
	addq	$4, %rcx
	movq	%rcx, -176(%rbp)                ## 8-byte Spill
	movq	%r15, -160(%rbp)                ## 8-byte Spill
	movq	%rbx, -152(%rbp)                ## 8-byte Spill
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	movq	%r13, -136(%rbp)                ## 8-byte Spill
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_12 Depth 2
                                        ##     Child Loop BB0_43 Depth 2
                                        ##     Child Loop BB0_48 Depth 2
	cmpl	$1, %eax
	jne	LBB0_58
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	20(%r15), %edi
	callq	_hc_thread_mutex_lock
	movq	_stdin@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_feof
	testq	%rax, %rax
	jne	LBB0_57
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	(%rbx), %rdi
	movl	8(%rbx), %edx
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	xorl	%esi, %esi
	callq	_memset
	movq	16(%rbx), %rdi
	movl	24(%rbx), %edx
	xorl	%esi, %esi
	callq	_memset
	jmp	LBB0_12
LBB0_8:                                 ##   in Loop: Header=BB0_12 Depth=2
	movl	$5, %r15d
LBB0_9:                                 ##   in Loop: Header=BB0_12 Depth=2
	movl	-52(%rbp), %eax                 ## 4-byte Reload
LBB0_10:                                ##   in Loop: Header=BB0_12 Depth=2
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
LBB0_11:                                ##   in Loop: Header=BB0_12 Depth=2
	cmpl	$5, %r15d
	movq	-160(%rbp), %r15                ## 8-byte Reload
	movq	-152(%rbp), %rbx                ## 8-byte Reload
	je	LBB0_35
LBB0_12:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	32(%rbx), %rax
	cmpq	40(%rbx), %rax
	jge	LBB0_35
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=2
	movl	$1, %edi
	callq	_select_read_timeout_console
	testl	%eax, %eax
	je	LBB0_28
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=2
	cmpl	$-1, %eax
	je	LBB0_35
## %bb.15:                              ##   in Loop: Header=BB0_12 Depth=2
	movq	$0, 24(%r15)
	movq	_HCBUFSIZ_LARGE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	decl	%esi
	movq	_stdin@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_fgets
	movq	%rax, -72(%rbp)
	testq	%rax, %rax
	je	LBB0_8
## %bb.16:                              ##   in Loop: Header=BB0_12 Depth=2
	movq	%rax, %rdi
	callq	_in_superchop
	movq	%rax, -64(%rbp)
	movq	-72(%rbp), %rsi
	movq	%r14, %rdi
	movq	%rax, %rdx
	callq	_convert_from_hex
	movq	%rax, -64(%rbp)
	cmpq	$0, -144(%rbp)                  ## 8-byte Folded Reload
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	movq	_RP_PASSWORD_SIZE@GOTPCREL(%rip), %r15
	je	LBB0_19
## %bb.17:                              ##   in Loop: Header=BB0_12 Depth=2
	movq	%r12, %r13
	movq	%rbx, -192(%rbp)
	movq	_HCBUFSIZ_TINY@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	%rax, -168(%rbp)
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	leaq	-72(%rbp), %rsi
	leaq	-64(%rbp), %rdx
	leaq	-192(%rbp), %rcx
	leaq	-168(%rbp), %r8
	callq	_iconv
	cmpq	$-1, %rax
	je	LBB0_31
## %bb.18:                              ##   in Loop: Header=BB0_12 Depth=2
	movq	%rbx, -72(%rbp)
	movq	(%r12), %rax
	subq	-168(%rbp), %rax
	movq	%rax, -64(%rbp)
	movq	-136(%rbp), %r13                ## 8-byte Reload
LBB0_19:                                ##   in Loop: Header=BB0_12 Depth=2
	movq	%rsp, %rbx
	movl	(%r15), %r12d
	movq	%r12, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	movl	8(%rcx), %edi
	movl	(%r13), %esi
	callq	_run_rule_engine
	movq	-64(%rbp), %rdx
	testq	%rax, %rax
	je	LBB0_23
## %bb.20:                              ##   in Loop: Header=BB0_12 Depth=2
	movslq	(%r15), %rax
	movl	$4, %r15d
	cmpq	%rax, %rdx
	jae	LBB0_30
## %bb.21:                              ##   in Loop: Header=BB0_12 Depth=2
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	%r12d, %edx
	callq	_memset
	movl	(%r13), %edi
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movl	8(%rax), %esi
	movq	-72(%rbp), %rdx
	movl	-64(%rbp), %ecx
	movq	%r14, %r8
	callq	__old_apply_rule
	testl	%eax, %eax
	js	LBB0_30
## %bb.22:                              ##   in Loop: Header=BB0_12 Depth=2
	movq	%r14, -72(%rbp)
	movl	%eax, %edx
	movq	%rdx, -64(%rbp)
LBB0_23:                                ##   in Loop: Header=BB0_12 Depth=2
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movl	$4, %r15d
	movq	_PW_MAX@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	ja	LBB0_33
## %bb.24:                              ##   in Loop: Header=BB0_12 Depth=2
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movq	(%rax), %rax
	movq	_ATTACK_KERN_STRAIGHT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_32
## %bb.25:                              ##   in Loop: Header=BB0_12 Depth=2
	movq	-120(%rbp), %rax                ## 8-byte Reload
	cmpq	(%rax), %rdx
	jb	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_12 Depth=2
	movq	-120(%rbp), %rax                ## 8-byte Reload
	cmpq	8(%rax), %rdx
	jbe	LBB0_32
LBB0_27:                                ##   in Loop: Header=BB0_12 Depth=2
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	incl	%eax
	jmp	LBB0_34
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_12 Depth=2
	cmpl	$0, (%r15)
	je	LBB0_35
## %bb.29:                              ##   in Loop: Header=BB0_12 Depth=2
	incq	24(%r15)
	movl	$4, %r15d
	jmp	LBB0_11
LBB0_30:                                ##   in Loop: Header=BB0_12 Depth=2
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_33
LBB0_31:                                ##   in Loop: Header=BB0_12 Depth=2
	movl	$4, %r15d
	movq	%r13, %r12
	movq	-136(%rbp), %r13                ## 8-byte Reload
	jmp	LBB0_9
LBB0_32:                                ##   in Loop: Header=BB0_12 Depth=2
	movq	-72(%rbp), %rsi
	movq	-152(%rbp), %rdi                ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_pw_add
	xorl	%eax, %eax
	movq	-160(%rbp), %rcx                ## 8-byte Reload
	cmpl	$0, (%rcx)
	sete	%al
	leal	(%rax,%rax,4), %r15d
	.p2align	4, 0x90
LBB0_33:                                ##   in Loop: Header=BB0_12 Depth=2
	movl	-52(%rbp), %eax                 ## 4-byte Reload
LBB0_34:                                ##   in Loop: Header=BB0_12 Depth=2
	movq	%rbx, %rsp
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_35:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	20(%r15), %edi
	callq	_hc_thread_mutex_unlock
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_50
## %bb.36:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	16(%r15), %edi
	callq	_hc_thread_mutex_lock
	movq	-184(%rbp), %rax                ## 8-byte Reload
	movq	(%rax), %r8
	testq	%r8, %r8
	movq	-128(%rbp), %rax                ## 8-byte Reload
	jle	LBB0_49
## %bb.37:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%r15), %rcx
	cmpq	$8, %r8
	jb	LBB0_38
## %bb.39:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpq	-176(%rbp), %rcx                ## 8-byte Folded Reload
	jae	LBB0_42
## %bb.40:                              ##   in Loop: Header=BB0_5 Depth=1
	leaq	(%rcx,%r8,4), %rdx
	cmpq	%rdx, %rax
	jae	LBB0_42
LBB0_38:                                ##   in Loop: Header=BB0_5 Depth=1
	xorl	%edx, %edx
LBB0_45:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%rdx, %rsi
	orq	$1, %rsi
	testb	$1, %r8b
	je	LBB0_47
## %bb.46:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	(%rax), %edi
	imull	-52(%rbp), %edi                 ## 4-byte Folded Reload
	addl	%edi, (%rcx,%rdx,4)
	movq	%rsi, %rdx
LBB0_47:                                ##   in Loop: Header=BB0_5 Depth=1
	cmpq	%rsi, %r8
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	je	LBB0_49
	.p2align	4, 0x90
LBB0_48:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rax), %esi
	imull	%edi, %esi
	addl	%esi, (%rcx,%rdx,4)
	movl	(%rax), %esi
	imull	%edi, %esi
	addl	%esi, 4(%rcx,%rdx,4)
	addq	$2, %rdx
	cmpq	%rdx, %r8
	jne	LBB0_48
	jmp	LBB0_49
LBB0_42:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r8, %rdx
	andq	$-8, %rdx
	movl	(%rax), %esi
	imull	-52(%rbp), %esi                 ## 4-byte Folded Reload
	movd	%esi, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_43:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqu	(%rcx,%rsi,4), %xmm1
	movdqu	16(%rcx,%rsi,4), %xmm2
	paddd	%xmm0, %xmm1
	paddd	%xmm0, %xmm2
	movdqu	%xmm1, (%rcx,%rsi,4)
	movdqu	%xmm2, 16(%rcx,%rsi,4)
	addq	$8, %rsi
	cmpq	%rsi, %rdx
	jne	LBB0_43
## %bb.44:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpq	%rdx, %r8
	jne	LBB0_45
	.p2align	4, 0x90
LBB0_49:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	16(%r15), %edi
	callq	_hc_thread_mutex_unlock
LBB0_50:                                ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$0, (%r15)
	je	LBB0_58
## %bb.51:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	32(%rbx), %rdx
	testq	%rdx, %rdx
	je	LBB0_58
## %bb.52:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_run_copy
	cmpl	$-1, %eax
	je	LBB0_56
## %bb.53:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	32(%rbx), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_run_cracker
	cmpl	$-1, %eax
	je	LBB0_56
## %bb.54:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	$0, 32(%rbx)
	movl	(%r15), %eax
	testl	%eax, %eax
	je	LBB0_58
## %bb.55:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$1, 48(%rbx)
	jne	LBB0_5
	jmp	LBB0_58
LBB0_56:
	movq	%r12, %rdi
	callq	_hcfree
	movl	$-1, %eax
	jmp	LBB0_61
LBB0_57:
	movl	20(%r15), %edi
	callq	_hc_thread_mutex_unlock
LBB0_58:
	movdqu	56(%rbx), %xmm0
	movdqu	%xmm0, 72(%rbx)
	pxor	%xmm0, %xmm0
	movdqu	%xmm0, 56(%rbx)
	cmpq	$0, -144(%rbp)                  ## 8-byte Folded Reload
	je	LBB0_60
## %bb.59:
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_iconv_close
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	callq	_hcfree
LBB0_60:
	movq	%r12, %rdi
	callq	_hcfree
	xorl	%eax, %eax
LBB0_61:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_63
## %bb.62:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_63:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_HCBUFSIZ_LARGE,4,2             ## @HCBUFSIZ_LARGE
	.comm	_HCBUFSIZ_TINY,8,3              ## @HCBUFSIZ_TINY
	.comm	_stdin,4,2                      ## @stdin
	.comm	_RP_PASSWORD_SIZE,4,2           ## @RP_PASSWORD_SIZE
	.comm	_PW_MAX,8,3                     ## @PW_MAX
	.comm	_ATTACK_KERN_STRAIGHT,8,3       ## @ATTACK_KERN_STRAIGHT
	.no_dead_strip	_calc_stdin
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function calc_stdin
_calc_stdin:                            ; @calc_stdin
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #112
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	ldp	x8, x19, [x0, #32]
	stur	x8, [x29, #-128]                ; 8-byte Folded Spill
	ldr	x9, [x0, #24]
	ldr	x8, [x0, #16]
	stp	x9, x8, [x29, #-184]            ; 16-byte Folded Spill
	ldp	x23, x8, [x0]
	stur	x8, [x29, #-168]                ; 8-byte Folded Spill
Lloh3:
	adrp	x25, _HCBUFSIZ_LARGE@GOTPAGE
Lloh4:
	ldr	x25, [x25, _HCBUFSIZ_LARGE@GOTPAGEOFF]
	ldrsw	x0, [x25]
	bl	_hcmalloc
	mov	x26, x0
	ldp	w0, w1, [x19, #4]
	bl	_strcmp
Lloh5:
	adrp	x24, _HCBUFSIZ_TINY@GOTPAGE
Lloh6:
	ldr	x24, [x24, _HCBUFSIZ_TINY@GOTPAGEOFF]
	stur	x0, [x29, #-136]                ; 8-byte Folded Spill
	cbz	x0, LBB0_3
; %bb.1:
	ldp	w1, w0, [x19, #4]
	bl	_iconv_open
	stur	x0, [x29, #-160]                ; 8-byte Folded Spill
	cmn	x0, #1
	b.eq	LBB0_55
; %bb.2:
	ldr	x0, [x24]
	bl	_hcmalloc
	mov	x27, x0
	b	LBB0_4
LBB0_3:
	mov	x27, #0
	stur	xzr, [x29, #-160]               ; 8-byte Folded Spill
LBB0_4:
	ldr	w8, [x23]
Lloh7:
	adrp	x28, _stdin@GOTPAGE
Lloh8:
	ldr	x28, [x28, _stdin@GOTPAGEOFF]
	ldur	x9, [x29, #-168]                ; 8-byte Folded Reload
	add	x9, x9, #4
	stur	x9, [x29, #-192]                ; 8-byte Folded Spill
	stp	x27, x19, [x29, #-152]          ; 16-byte Folded Spill
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
                                        ;     Child Loop BB0_53 Depth 2
                                        ;     Child Loop BB0_44 Depth 2
	cmp	w8, #1
	b.ne	LBB0_57
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x23, #20]
	bl	_hc_thread_mutex_lock
	ldr	w0, [x28]
	bl	_feof
	cbnz	x0, LBB0_56
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x20]
	ldr	w2, [x20, #8]
	mov	w1, #0
	bl	_memset
	ldr	x0, [x20, #16]
	ldr	w2, [x20, #24]
	mov	w1, #0
	bl	_memset
	mov	w22, #0
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=2
	mov	w8, #5
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=2
	cmp	w8, #5
	b.eq	LBB0_37
LBB0_10:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	x8, x9, [x20, #32]
	cmp	x8, x9
	b.ge	LBB0_37
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=2
	mov	w0, #1
	bl	_select_read_timeout_console
	cbz	w0, LBB0_21
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=2
	cmn	w0, #1
	b.eq	LBB0_37
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=2
	str	xzr, [x23, #24]
	ldr	w8, [x25]
	sub	w1, w8, #1
	ldr	w2, [x28]
	mov	x0, x26
	bl	_fgets
	stur	x0, [x29, #-96]
	cbz	x0, LBB0_8
; %bb.14:                               ;   in Loop: Header=BB0_10 Depth=2
	bl	_in_superchop
	mov	x2, x0
	stur	x0, [x29, #-104]
	ldur	x1, [x29, #-96]
	mov	x0, x21
	bl	_convert_from_hex
	stur	x0, [x29, #-104]
	ldur	x8, [x29, #-136]                ; 8-byte Folded Reload
	cbz	x8, LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_10 Depth=2
	ldr	x8, [x24]
	stp	x8, x27, [x29, #-120]
	sub	x1, x29, #96
	sub	x2, x29, #104
	sub	x3, x29, #112
	sub	x4, x29, #120
	ldur	x0, [x29, #-160]                ; 8-byte Folded Reload
	bl	_iconv
	cmn	x0, #1
	b.eq	LBB0_27
; %bb.16:                               ;   in Loop: Header=BB0_10 Depth=2
	ldr	x8, [x24]
	ldur	x9, [x29, #-120]
	sub	x8, x8, x9
	stp	x8, x27, [x29, #-104]
LBB0_17:                                ;   in Loop: Header=BB0_10 Depth=2
	mov	x24, x23
	mov	x23, x22
	mov	x28, x21
	mov	x21, x26
	mov	x27, x25
	mov	x22, sp
Lloh9:
	adrp	x19, _RP_PASSWORD_SIZE@GOTPAGE
Lloh10:
	ldr	x19, [x19, _RP_PASSWORD_SIZE@GOTPAGEOFF]
	ldr	w26, [x19]
	mov	x9, x26
Lloh11:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh12:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x26, #15
	and	x9, x9, #0x1fffffff0
	sub	x25, x8, x9
	mov	sp, x25
	ldur	x8, [x29, #-128]                ; 8-byte Folded Reload
	ldr	w0, [x8, #8]
	ldur	x8, [x29, #-144]                ; 8-byte Folded Reload
	ldr	w1, [x8]
	bl	_run_rule_engine
	ldur	x2, [x29, #-104]
	cbz	x0, LBB0_23
; %bb.18:                               ;   in Loop: Header=BB0_10 Depth=2
	ldrsw	x8, [x19]
	cmp	x2, x8
	b.hs	LBB0_26
; %bb.19:                               ;   in Loop: Header=BB0_10 Depth=2
	mov	x0, x25
	mov	w1, #0
	mov	x2, x26
	bl	_memset
	ldur	x8, [x29, #-144]                ; 8-byte Folded Reload
	ldr	w0, [x8]
	ldur	x8, [x29, #-128]                ; 8-byte Folded Reload
	ldr	w1, [x8, #8]
	ldur	x2, [x29, #-96]
	ldur	w3, [x29, #-104]
	mov	x4, x25
	bl	__old_apply_rule
	mov	x19, x22
	tbnz	w0, #31, LBB0_34
; %bb.20:                               ;   in Loop: Header=BB0_10 Depth=2
	mov	w2, w0
	stp	x2, x25, [x29, #-104]
	mov	x25, x27
	mov	x26, x21
	b	LBB0_24
LBB0_21:                                ;   in Loop: Header=BB0_10 Depth=2
	ldr	w8, [x23]
	cbz	w8, LBB0_37
; %bb.22:                               ;   in Loop: Header=BB0_10 Depth=2
	ldr	x8, [x23, #24]
	add	x8, x8, #1
	str	x8, [x23, #24]
	mov	w8, #4
	b	LBB0_9
LBB0_23:                                ;   in Loop: Header=BB0_10 Depth=2
	mov	x25, x27
	mov	x26, x21
	mov	x19, x22
LBB0_24:                                ;   in Loop: Header=BB0_10 Depth=2
	mov	x22, x23
Lloh13:
	adrp	x8, _PW_MAX@GOTPAGE
Lloh14:
	ldr	x8, [x8, _PW_MAX@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	cmp	x2, x8
	mov	x21, x28
	mov	x23, x24
	b.ls	LBB0_28
; %bb.25:                               ;   in Loop: Header=BB0_10 Depth=2
	mov	w8, #4
Lloh16:
	adrp	x24, _HCBUFSIZ_TINY@GOTPAGE
Lloh17:
	ldr	x24, [x24, _HCBUFSIZ_TINY@GOTPAGEOFF]
	b	LBB0_33
LBB0_26:                                ;   in Loop: Header=BB0_10 Depth=2
	mov	w8, #4
	mov	x25, x27
	mov	x26, x21
	mov	x21, x28
Lloh18:
	adrp	x9, _HCBUFSIZ_TINY@GOTPAGE
Lloh19:
	ldr	x9, [x9, _HCBUFSIZ_TINY@GOTPAGEOFF]
	ldur	x27, [x29, #-152]               ; 8-byte Folded Reload
Lloh20:
	adrp	x28, _stdin@GOTPAGE
Lloh21:
	ldr	x28, [x28, _stdin@GOTPAGEOFF]
	mov	x19, x22
	b	LBB0_35
LBB0_27:                                ;   in Loop: Header=BB0_10 Depth=2
	mov	w8, #4
	b	LBB0_9
LBB0_28:                                ;   in Loop: Header=BB0_10 Depth=2
	ldur	x8, [x29, #-128]                ; 8-byte Folded Reload
	ldr	x8, [x8]
Lloh22:
	adrp	x9, _ATTACK_KERN_STRAIGHT@GOTPAGE
Lloh23:
	ldr	x9, [x9, _ATTACK_KERN_STRAIGHT@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x8, x9
Lloh25:
	adrp	x24, _HCBUFSIZ_TINY@GOTPAGE
Lloh26:
	ldr	x24, [x24, _HCBUFSIZ_TINY@GOTPAGEOFF]
	b.ne	LBB0_32
; %bb.29:                               ;   in Loop: Header=BB0_10 Depth=2
	ldur	x8, [x29, #-184]                ; 8-byte Folded Reload
	ldr	x8, [x8]
	cmp	x2, x8
	b.lo	LBB0_31
; %bb.30:                               ;   in Loop: Header=BB0_10 Depth=2
	ldur	x8, [x29, #-184]                ; 8-byte Folded Reload
	ldr	x8, [x8, #8]
	cmp	x2, x8
	b.ls	LBB0_32
LBB0_31:                                ;   in Loop: Header=BB0_10 Depth=2
	add	w22, w22, #1
	mov	w8, #4
	b	LBB0_33
LBB0_32:                                ;   in Loop: Header=BB0_10 Depth=2
	ldur	x1, [x29, #-96]
	mov	x0, x20
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_pw_add
	ldr	w8, [x23]
	cmp	w8, #0
	mov	w8, #5
	csel	w8, w8, wzr, eq
LBB0_33:                                ;   in Loop: Header=BB0_10 Depth=2
	ldur	x27, [x29, #-152]               ; 8-byte Folded Reload
Lloh27:
	adrp	x28, _stdin@GOTPAGE
Lloh28:
	ldr	x28, [x28, _stdin@GOTPAGEOFF]
	b	LBB0_36
LBB0_34:                                ;   in Loop: Header=BB0_10 Depth=2
	mov	w8, #4
	mov	x25, x27
	mov	x26, x21
	mov	x21, x28
Lloh29:
	adrp	x9, _HCBUFSIZ_TINY@GOTPAGE
Lloh30:
	ldr	x9, [x9, _HCBUFSIZ_TINY@GOTPAGEOFF]
	ldur	x27, [x29, #-152]               ; 8-byte Folded Reload
Lloh31:
	adrp	x28, _stdin@GOTPAGE
Lloh32:
	ldr	x28, [x28, _stdin@GOTPAGEOFF]
LBB0_35:                                ;   in Loop: Header=BB0_10 Depth=2
	mov	x22, x23
	mov	x23, x24
	mov	x24, x9
LBB0_36:                                ;   in Loop: Header=BB0_10 Depth=2
	mov	sp, x19
	b	LBB0_9
LBB0_37:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x23, #20]
	bl	_hc_thread_mutex_unlock
	cmp	w22, #1
	b.lt	LBB0_46
; %bb.38:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x23, #16]
	bl	_hc_thread_mutex_lock
	ldp	x8, x13, [x29, #-176]           ; 16-byte Folded Reload
	ldr	x8, [x8]
	cmp	x8, #1
	b.lt	LBB0_45
; %bb.39:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x23, #8]
	cmp	x8, #16
	b.lo	LBB0_42
; %bb.40:                               ;   in Loop: Header=BB0_5 Depth=1
	ldur	x10, [x29, #-192]               ; 8-byte Folded Reload
	cmp	x9, x10
	b.hs	LBB0_52
; %bb.41:                               ;   in Loop: Header=BB0_5 Depth=1
	add	x10, x9, x8, lsl #2
	cmp	x13, x10
	b.hs	LBB0_52
LBB0_42:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x10, #0
LBB0_43:                                ;   in Loop: Header=BB0_5 Depth=1
	sub	x8, x8, x10
	add	x9, x9, x10, lsl #2
LBB0_44:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w10, [x13]
	ldr	w11, [x9]
	madd	w10, w10, w22, w11
	str	w10, [x9], #4
	subs	x8, x8, #1
	b.ne	LBB0_44
LBB0_45:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x23, #16]
	bl	_hc_thread_mutex_unlock
LBB0_46:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x23]
	cbz	w8, LBB0_57
; %bb.47:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x2, [x20, #32]
	cbz	x2, LBB0_57
; %bb.48:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	mov	x1, x20
	bl	_run_copy
	cmn	w0, #1
	b.eq	LBB0_55
; %bb.49:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x2, [x20, #32]
	mov	x0, x21
	mov	x1, x20
	bl	_run_cracker
	cmn	w0, #1
	b.eq	LBB0_55
; %bb.50:                               ;   in Loop: Header=BB0_5 Depth=1
	str	xzr, [x20, #32]
	ldr	w8, [x23]
	cbz	w8, LBB0_57
; %bb.51:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w9, [x20, #48]
	cmp	w9, #1
	b.ne	LBB0_5
	b	LBB0_57
LBB0_52:                                ;   in Loop: Header=BB0_5 Depth=1
	and	x10, x8, #0xfffffffffffffff0
	ldr	w11, [x13]
	mul	w11, w11, w22
	dup.4s	v0, w11
	add	x11, x9, #32
	mov	x12, x10
LBB0_53:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	q1, q2, [x11, #-32]
	ldp	q3, q4, [x11]
	add.4s	v1, v1, v0
	add.4s	v2, v2, v0
	add.4s	v3, v3, v0
	add.4s	v4, v4, v0
	stp	q1, q2, [x11, #-32]
	stp	q3, q4, [x11], #64
	subs	x12, x12, #16
	b.ne	LBB0_53
; %bb.54:                               ;   in Loop: Header=BB0_5 Depth=1
	cmp	x8, x10
	b.eq	LBB0_45
	b	LBB0_43
LBB0_55:
	mov	x0, x26
	bl	_hcfree
	mov	w0, #-1
	b	LBB0_60
LBB0_56:
	ldr	w0, [x23, #20]
	bl	_hc_thread_mutex_unlock
LBB0_57:
	ldur	q0, [x20, #56]
	stur	q0, [x20, #72]
	stp	xzr, xzr, [x20, #56]
	ldur	x8, [x29, #-136]                ; 8-byte Folded Reload
	cbz	x8, LBB0_59
; %bb.58:
	ldur	x0, [x29, #-160]                ; 8-byte Folded Reload
	bl	_iconv_close
	mov	x0, x27
	bl	_hcfree
LBB0_59:
	mov	x0, x26
	bl	_hcfree
	mov	w0, #0
LBB0_60:
	ldur	x8, [x29, #-88]
Lloh33:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh34:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_62
; %bb.61:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_62:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_HCBUFSIZ_LARGE,4,2             ; @HCBUFSIZ_LARGE
	.comm	_HCBUFSIZ_TINY,8,3              ; @HCBUFSIZ_TINY
	.comm	_stdin,4,2                      ; @stdin
	.comm	_RP_PASSWORD_SIZE,4,2           ; @RP_PASSWORD_SIZE
	.comm	_PW_MAX,8,3                     ; @PW_MAX
	.comm	_ATTACK_KERN_STRAIGHT,8,3       ; @ATTACK_KERN_STRAIGHT
	.no_dead_strip	_calc_stdin
.subsections_via_symbols
