	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_try_crack                      ## -- Begin function try_crack
	.p2align	4, 0x90
_try_crack:                             ## @try_crack
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_crack_pid@GOTPCREL(%rip), %rbx
	cmpl	$0, (%rbx)
	je	LBB0_2
## %bb.1:
	movl	$10, %edi
	callq	_putchar
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_time_print
	xorl	%eax, %eax
	callq	_kill_crack
LBB0_2:
	movq	_weplog@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.3:
	callq	_fsync
	cmpl	$-1, %eax
	jne	LBB0_5
## %bb.4:
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_5:
	xorl	%eax, %eax
	callq	_fork
	movl	%eax, (%rbx)
	cmpl	$-1, %eax
	jne	LBB0_7
## %bb.6:
	leaq	L_.str.3(%rip), %rsi
	movl	$1, %edi
	callq	_err
	movl	(%rbx), %eax
LBB0_7:
	testl	%eax, %eax
	je	LBB0_8
## %bb.11:
	movl	$10, %edi
	callq	_putchar
	movl	(%rbx), %esi
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_time_print
	movq	_crack_start@GOTPCREL(%rip), %rdi
	xorl	%esi, %esi
	callq	_gettimeofday
	cmpl	$-1, %eax
	jne	LBB0_13
## %bb.12:
	leaq	L_.str.6(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_13:
	movq	_thresh_incr@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_wep_thresh@GOTPCREL(%rip), %rcx
	addl	%eax, (%rcx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_8:
	xorl	%eax, %eax
	callq	_do_crack
	testl	%eax, %eax
	jne	LBB0_10
## %bb.9:
	leaq	L_str(%rip), %rdi
	callq	_puts
LBB0_10:
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_crack_pid,4,2                  ## @crack_pid
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"Warning... previous crack still running!\n"

	.comm	_weplog,8,3                     ## @weplog
L_.str.2:                               ## @.str.2
	.asciz	"fsync"

L_.str.3:                               ## @.str.3
	.asciz	"fork"

L_.str.5:                               ## @.str.5
	.asciz	"Starting crack PID=%d\n"

	.comm	_crack_start,4,2                ## @crack_start
L_.str.6:                               ## @.str.6
	.asciz	"gettimeofday"

	.comm	_thresh_incr,8,3                ## @thresh_incr
	.comm	_wep_thresh,4,2                 ## @wep_thresh
L_str:                                  ## @str
	.asciz	"\nCrack unsuccessful"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_try_crack                      ; -- Begin function try_crack
	.p2align	2
_try_crack:                             ; @try_crack
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
Lloh0:
	adrp	x19, _crack_pid@GOTPAGE
Lloh1:
	ldr	x19, [x19, _crack_pid@GOTPAGEOFF]
	ldr	w8, [x19]
	cbz	w8, LBB0_2
; %bb.1:
	mov	w0, #10
	bl	_putchar
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_time_print
	bl	_kill_crack
LBB0_2:
Lloh4:
	adrp	x8, _weplog@GOTPAGE
Lloh5:
	ldr	x8, [x8, _weplog@GOTPAGEOFF]
Lloh6:
	ldr	x0, [x8]
	cbz	x0, LBB0_5
; %bb.3:
	bl	_fsync
	cmn	w0, #1
	b.ne	LBB0_5
; %bb.4:
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_5:
	bl	_fork
	str	w0, [x19]
	cmn	w0, #1
	b.ne	LBB0_7
; %bb.6:
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w0, #1
	bl	_err
	ldr	w0, [x19]
LBB0_7:
	cbz	w0, LBB0_11
; %bb.8:
	mov	w0, #10
	bl	_putchar
	ldr	w8, [x19]
	str	x8, [sp]
Lloh11:
	adrp	x0, l_.str.5@PAGE
Lloh12:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_time_print
Lloh13:
	adrp	x0, _crack_start@GOTPAGE
Lloh14:
	ldr	x0, [x0, _crack_start@GOTPAGEOFF]
	mov	x1, #0
	bl	_gettimeofday
	cmn	w0, #1
	b.ne	LBB0_10
; %bb.9:
Lloh15:
	adrp	x1, l_.str.6@PAGE
Lloh16:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_10:
Lloh17:
	adrp	x8, _thresh_incr@GOTPAGE
Lloh18:
	ldr	x8, [x8, _thresh_incr@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	adrp	x9, _wep_thresh@GOTPAGE
Lloh21:
	ldr	x9, [x9, _wep_thresh@GOTPAGEOFF]
	ldr	w10, [x9]
	add	w8, w10, w8
	str	w8, [x9]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_11:
	bl	_do_crack
	cbnz	w0, LBB0_13
; %bb.12:
Lloh22:
	adrp	x0, l_str@PAGE
Lloh23:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
LBB0_13:
	mov	w0, #1
	bl	_exit
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_crack_pid,4,2                  ; @crack_pid
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"Warning... previous crack still running!\n"

	.comm	_weplog,8,3                     ; @weplog
l_.str.2:                               ; @.str.2
	.asciz	"fsync"

l_.str.3:                               ; @.str.3
	.asciz	"fork"

l_.str.5:                               ; @.str.5
	.asciz	"Starting crack PID=%d\n"

	.comm	_crack_start,4,2                ; @crack_start
l_.str.6:                               ; @.str.6
	.asciz	"gettimeofday"

	.comm	_thresh_incr,8,3                ; @thresh_incr
	.comm	_wep_thresh,4,2                 ; @wep_thresh
l_str:                                  ; @str
	.asciz	"\nCrack unsuccessful"

.subsections_via_symbols
