	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hlfmt_detect                   ## -- Begin function hlfmt_detect
	.p2align	4, 0x90
_hlfmt_detect:                          ## @hlfmt_detect
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	cmpl	$1, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	_HLFMT_HASHCAT@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	jmp	LBB0_21
LBB0_2:
	movq	%rsi, %rbx
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	_HLFMTS_CNT@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movl	$8, %esi
	callq	_hccalloc
	movq	%rax, %r13
	movq	_HCBUFSIZ_LARGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_hcmalloc
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_hc_feof
	testl	%eax, %eax
	je	LBB0_3
LBB0_15:
	movq	%r12, %rdi
	callq	_hcfree
	movq	_HLFMT_HASHCAT@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_HLFMTS_CNT@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	cmpq	$2, %rcx
	jl	LBB0_20
## %bb.16:
	movq	(%r13), %rdx
	leaq	-1(%rcx), %r8
	addq	$-2, %rcx
	movl	%r8d, %eax
	andl	$3, %eax
	cmpq	$3, %rcx
	jae	LBB0_22
## %bb.17:
	movl	$1, %ecx
	jmp	LBB0_18
LBB0_3:
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %rbx
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	callq	_hc_feof
	testl	%eax, %eax
	jne	LBB0_15
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	_HCBUFSIZ_LARGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %r15
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_fgetl
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %r14
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%rax, %rdx
	callq	_hlfmt_detect_pwdump
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_HLFMT_PWDUMP@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	incq	(%r13,%rax,8)
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	_hlfmt_detect_passwd
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_HLFMT_PASSWD@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	incq	(%r13,%rax,8)
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	_hlfmt_detect_shadow
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	_HLFMT_SHADOW@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	incq	(%r13,%rax,8)
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	xorl	%eax, %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	cmpq	-64(%rbp), %rcx                 ## 8-byte Folded Reload
	setne	%cl
	je	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %rbx
	movb	%cl, %al
	addq	%rax, -48(%rbp)                 ## 8-byte Folded Spill
	jmp	LBB0_14
LBB0_22:
	andq	$-4, %r8
	movl	$1, %ecx
	.p2align	4, 0x90
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r13,%rcx,8), %rdi
	movq	8(%r13,%rcx,8), %rsi
	cmpq	%rdi, %rdx
	cmovlq	%rcx, %rbx
	leaq	1(%rcx), %rdx
	cmpq	%rsi, %rdi
	cmovgeq	%rbx, %rdx
	movq	16(%r13,%rcx,8), %rdi
	leaq	2(%rcx), %rbx
	cmpq	%rdi, %rsi
	cmovgeq	%rdx, %rbx
	movq	24(%r13,%rcx,8), %rdx
	leaq	3(%rcx), %rsi
	cmpq	%rdx, %rdi
	cmovlq	%rsi, %rbx
	addq	$4, %rcx
	cmpq	%r8, %rsi
	jne	LBB0_23
LBB0_18:
	testq	%rax, %rax
	je	LBB0_20
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r13,%rcx,8), %rsi
	cmpq	%rsi, %rdx
	cmovlq	%rcx, %rbx
	incq	%rcx
	movq	%rsi, %rdx
	decq	%rax
	jne	LBB0_19
LBB0_20:
	movq	%r13, %rdi
	callq	_free
LBB0_21:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HLFMT_HASHCAT,8,3              ## @HLFMT_HASHCAT
	.comm	_HLFMTS_CNT,8,3                 ## @HLFMTS_CNT
	.comm	_HCBUFSIZ_LARGE,4,2             ## @HCBUFSIZ_LARGE
	.comm	_HLFMT_PWDUMP,8,3               ## @HLFMT_PWDUMP
	.comm	_HLFMT_PASSWD,8,3               ## @HLFMT_PASSWD
	.comm	_HLFMT_SHADOW,8,3               ## @HLFMT_SHADOW
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hlfmt_detect                   ; -- Begin function hlfmt_detect
	.p2align	2
_hlfmt_detect:                          ; @hlfmt_detect
	.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
	ldr	x8, [x0]
	ldr	w8, [x8]
	cmp	w8, #1
	b.ne	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _HLFMT_HASHCAT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HLFMT_HASHCAT@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
	b	LBB0_7
LBB0_2:
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh3:
	adrp	x8, _HLFMTS_CNT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HLFMTS_CNT@GOTPAGEOFF]
Lloh5:
	ldr	x0, [x8]
	mov	w1, #8
	bl	_hccalloc
	mov	x19, x0
Lloh6:
	adrp	x26, _HCBUFSIZ_LARGE@GOTPAGE
Lloh7:
	ldr	x26, [x26, _HCBUFSIZ_LARGE@GOTPAGEOFF]
	ldr	w0, [x26]
	bl	_hcmalloc
	mov	x23, x0
	mov	x0, x21
	bl	_hc_feof
	cbz	w0, LBB0_8
LBB0_3:
	mov	x0, x23
	bl	_hcfree
Lloh8:
	adrp	x8, _HLFMT_HASHCAT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _HLFMT_HASHCAT@GOTPAGEOFF]
Lloh10:
	ldr	x20, [x8]
Lloh11:
	adrp	x8, _HLFMTS_CNT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _HLFMTS_CNT@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	cmp	x8, #2
	b.lt	LBB0_6
; %bb.4:
	ldr	x10, [x19]
	mov	w9, #1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x19, x9, lsl #3]
	cmp	x10, x11
	csel	x20, x9, x20, lt
	add	x9, x9, #1
	mov	x10, x11
	cmp	x8, x9
	b.ne	LBB0_5
LBB0_6:
	mov	x0, x19
	bl	_free
LBB0_7:
	mov	x0, x20
	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_8:
	mov	x27, #0
Lloh14:
	adrp	x25, _HLFMT_PASSWD@GOTPAGE
Lloh15:
	ldr	x25, [x25, _HLFMT_PASSWD@GOTPAGEOFF]
Lloh16:
	adrp	x28, _HLFMT_PWDUMP@GOTPAGE
Lloh17:
	ldr	x28, [x28, _HLFMT_PWDUMP@GOTPAGEOFF]
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=1
	cmp	x27, x20
	cinc	x27, x27, ne
	b.eq	LBB0_3
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x21
	bl	_hc_feof
	cbnz	w0, LBB0_3
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x26]
	mov	x0, x21
	mov	x1, x23
	bl	_fgetl
	cbz	x0, LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x24, x0
	mov	x0, x22
	mov	x1, x23
	mov	x2, x24
	bl	_hlfmt_detect_pwdump
	cbz	x0, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x8, [x28]
	lsl	x8, x8, #3
	ldr	x9, [x19, x8]
	add	x9, x9, #1
	str	x9, [x19, x8]
LBB0_14:                                ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x22
	mov	x1, x23
	mov	x2, x24
	bl	_hlfmt_detect_passwd
	cbz	x0, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x8, [x25]
	lsl	x8, x8, #3
	ldr	x9, [x19, x8]
	add	x9, x9, #1
	str	x9, [x19, x8]
LBB0_16:                                ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x22
	mov	x1, x23
	mov	x2, x24
	bl	_hlfmt_detect_shadow
	cbz	x0, LBB0_9
; %bb.17:                               ;   in Loop: Header=BB0_11 Depth=1
Lloh18:
	adrp	x8, _HLFMT_SHADOW@GOTPAGE
Lloh19:
	ldr	x8, [x8, _HLFMT_SHADOW@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	lsl	x8, x8, #3
	ldr	x9, [x19, x8]
	add	x9, x9, #1
	str	x9, [x19, x8]
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_HLFMT_HASHCAT,8,3              ; @HLFMT_HASHCAT
	.comm	_HLFMTS_CNT,8,3                 ; @HLFMTS_CNT
	.comm	_HCBUFSIZ_LARGE,4,2             ; @HCBUFSIZ_LARGE
	.comm	_HLFMT_PWDUMP,8,3               ; @HLFMT_PWDUMP
	.comm	_HLFMT_PASSWD,8,3               ; @HLFMT_PASSWD
	.comm	_HLFMT_SHADOW,8,3               ; @HLFMT_SHADOW
.subsections_via_symbols
