	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_next_word                  ## -- Begin function get_next_word
	.p2align	4, 0x90
_get_next_word:                         ## @get_next_word
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	%rsi, -104(%rbp)                ## 8-byte Spill
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %r13
	movq	(%r13), %rdi
	movq	8(%r13), %rsi
	cmpq	%rsi, %rdi
	jge	LBB0_11
## %bb.1:
	movq	8(%r12), %rbx
	movq	16(%r12), %r14
	movq	_HCBUFSIZ_TINY@GOTPCREL(%rip), %r15
	movq	%r12, -112(%rbp)                ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	-52(%rbp), %eax
	movq	_PW_MAX@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jle	LBB0_9
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r13), %rdi
	movq	8(%r13), %rsi
	cmpq	%rsi, %rdi
	movq	_HCBUFSIZ_TINY@GOTPCREL(%rip), %r15
	jge	LBB0_11
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	subq	%rdi, %rsi
	addq	16(%r13), %rdi
	movq	%rdi, -64(%rbp)
	leaq	-52(%rbp), %rdx
	leaq	-68(%rbp), %rcx
	callq	*48(%r13)
	movslq	-68(%rbp), %rax
	addq	%rax, (%r13)
	movq	-64(%rbp), %rsi
	movl	-52(%rbp), %edx
	movq	%r12, %rdi
	callq	_convert_from_hex
	movl	%eax, -52(%rbp)
	cmpl	$1, 24(%r13)
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	32(%r13), %rcx
	movq	%rcx, -136(%rbp)
	movq	(%r15), %rcx
	movq	%rcx, -96(%rbp)
	cltq
	movq	%rax, -128(%rbp)
	movl	40(%r13), %edi
	leaq	-64(%rbp), %rsi
	leaq	-128(%rbp), %rdx
	leaq	-136(%rbp), %rcx
	leaq	-96(%rbp), %r8
	callq	_iconv
	cmpq	$-1, %rax
	je	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	32(%r13), %rax
	movq	%rax, -64(%rbp)
	movl	(%r15), %eax
	subl	-96(%rbp), %eax
	movl	%eax, -52(%rbp)
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %edi
	movl	(%r14), %esi
	callq	_run_rule_engine
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_RP_PASSWORD_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	cmpl	%r15d, -52(%rbp)
	jge	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rsp, -120(%rbp)                ## 8-byte Spill
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	%r15d, %edx
	callq	_memset
	movl	(%r14), %edi
	movl	(%rbx), %esi
	movq	-64(%rbp), %rdx
	movl	-52(%rbp), %ecx
	movq	%r12, %r8
	movq	-112(%rbp), %r12                ## 8-byte Reload
	callq	__old_apply_rule
	testl	%eax, %eax
	movq	-120(%rbp), %rsp                ## 8-byte Reload
	jns	LBB0_8
	jmp	LBB0_10
LBB0_11:
	movq	-104(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %rdi
	callq	_hc_feof
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
	jmp	LBB0_14
LBB0_13:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_load_segment
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	callq	_get_next_word
	jmp	LBB0_14
LBB0_9:
	movq	-64(%rbp), %rcx
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	%rcx, (%rdx)
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
LBB0_14:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_16
## %bb.15:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_HCBUFSIZ_TINY,8,3              ## @HCBUFSIZ_TINY
	.comm	_RP_PASSWORD_SIZE,4,2           ## @RP_PASSWORD_SIZE
	.comm	_PW_MAX,4,2                     ## @PW_MAX
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"BUG feof()!!\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_next_word                  ; -- Begin function get_next_word
	.p2align	2
_get_next_word:                         ; @get_next_word
	.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, #64
	stp	x2, x3, [x29, #-144]            ; 16-byte Folded Spill
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	ldr	x24, [x0]
	ldp	x8, x9, [x24]
	cmp	x8, x9
	b.ge	LBB0_10
; %bb.1:
	ldp	x25, x26, [x22, #8]
Lloh3:
	adrp	x27, _HCBUFSIZ_TINY@GOTPAGE
Lloh4:
	ldr	x27, [x27, _HCBUFSIZ_TINY@GOTPAGEOFF]
Lloh5:
	adrp	x28, _PW_MAX@GOTPAGE
Lloh6:
	ldr	x28, [x28, _PW_MAX@GOTPAGEOFF]
Lloh7:
	adrp	x19, _RP_PASSWORD_SIZE@GOTPAGE
Lloh8:
	ldr	x19, [x19, _RP_PASSWORD_SIZE@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldur	w8, [x29, #-96]
	ldr	w9, [x28]
	cmp	w8, w9
	b.le	LBB0_13
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldp	x8, x9, [x24]
	cmp	x8, x9
	b.ge	LBB0_10
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x24, #16]
	add	x0, x10, x8
	stur	x0, [x29, #-104]
	ldr	x10, [x24, #48]
	sub	x1, x9, x8
	sub	x2, x29, #96
	sub	x3, x29, #92
	blr	x10
	ldp	w2, w8, [x29, #-96]
                                        ; kill: def $w8 killed $w8 def $x8
	sxtw	x8, w8
	ldr	x9, [x24]
	add	x8, x9, x8
	str	x8, [x24]
	ldur	x1, [x29, #-104]
	mov	x0, x22
	bl	_convert_from_hex
	stur	w0, [x29, #-96]
	ldr	w8, [x24, #24]
	cmp	w8, #1
	b.ne	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x24, #32]
	ldr	x8, [x27]
	stp	x8, x9, [x29, #-120]
	sxtw	x8, w0
	stur	x8, [x29, #-128]
	ldr	w0, [x24, #40]
	sub	x1, x29, #104
	sub	x2, x29, #128
	sub	x3, x29, #112
	sub	x4, x29, #120
	bl	_iconv
	cmn	x0, #1
	b.eq	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x24, #32]
	stur	x8, [x29, #-104]
	ldr	w8, [x27]
	ldur	w9, [x29, #-120]
	sub	w8, w8, w9
	stur	w8, [x29, #-96]
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x25]
	ldr	w1, [x26]
	bl	_run_rule_engine
	cbz	x0, LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldur	w8, [x29, #-96]
	ldr	w2, [x19]
	cmp	w8, w2
	b.ge	LBB0_3
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x20, sp
	mov	x9, x2
Lloh9:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh10:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x2, #15
	and	x9, x9, #0x1fffffff0
	sub	x23, x8, x9
	mov	sp, x23
	mov	x0, x23
	mov	w1, #0
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_memset
	ldr	w0, [x26]
	ldr	w1, [x25]
	ldur	x2, [x29, #-104]
	ldur	w3, [x29, #-96]
	mov	x4, x23
	bl	__old_apply_rule
	mov	sp, x20
	tbz	w0, #31, LBB0_2
	b	LBB0_3
LBB0_10:
	mov	x0, x21
	bl	_hc_feof
	cbz	x0, LBB0_12
; %bb.11:
Lloh11:
	adrp	x8, _stderr@GOTPAGE
Lloh12:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	b	LBB0_14
LBB0_12:
	mov	x0, x22
	mov	x1, x21
	bl	_load_segment
	mov	x0, x22
	mov	x1, x21
	ldp	x2, x3, [x29, #-144]            ; 16-byte Folded Reload
	bl	_get_next_word
	b	LBB0_14
LBB0_13:
	ldur	x9, [x29, #-104]
	ldur	x10, [x29, #-144]               ; 8-byte Folded Reload
	str	x9, [x10]
	ldur	x9, [x29, #-136]                ; 8-byte Folded Reload
	str	w8, [x9]
LBB0_14:
	ldur	x8, [x29, #-88]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.15:
	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_16:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_HCBUFSIZ_TINY,8,3              ; @HCBUFSIZ_TINY
	.comm	_RP_PASSWORD_SIZE,4,2           ; @RP_PASSWORD_SIZE
	.comm	_PW_MAX,4,2                     ; @PW_MAX
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"BUG feof()!!\n"

.subsections_via_symbols
