	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rabin_delegate
_rabin_delegate:                        ## @rabin_delegate
	.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	%rdi, %r15
	movq	_r@GOTPCREL(%rip), %rax
	movl	8(%rax), %edi
	movq	(%rax), %rax
	movl	(%rax), %esi
	callq	_r_io_desc_get
	movq	_rabin_cmd@GOTPCREL(%rip), %r13
	cmpq	$0, (%r13)
	je	LBB0_12
## %bb.1:
	movl	(%rax), %edi
	callq	_r_file_exists
	testq	%rax, %rax
	je	LBB0_12
## %bb.2:
	movq	(%r13), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_r_sys_cmd_str
	testq	%rax, %rax
	je	LBB0_11
## %bb.3:
	movq	%rax, %r12
	movq	_r@GOTPCREL(%rip), %r14
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	leaq	1(%rbx), %r12
	testq	%rbx, %rbx
	je	LBB0_11
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	testq	%r15, %r15
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	(%r15), %edi
	callq	_r_th_lock_enter
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	movl	$10, %esi
	callq	_strchr
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movb	$0, (%rbx)
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	callq	_r_core_cmd
	testq	%r15, %r15
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	(%r15), %edi
	callq	_r_th_lock_leave
	jmp	LBB0_10
LBB0_11:
	movq	(%r13), %rdi
	callq	_free
	movq	$0, (%r13)
LBB0_12:
	testq	%r15, %r15
	je	LBB0_14
## %bb.13:
	leaq	L_.str(%rip), %rdi
	callq	_eprintf
LBB0_14:
	movq	_R_TH_STOP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_r,16,3                         ## @r
	.comm	_rabin_cmd,8,3                  ## @rabin_cmd
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rabin2: done\n"

	.comm	_R_TH_STOP,4,2                  ## @R_TH_STOP
	.no_dead_strip	_rabin_delegate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rabin_delegate
_rabin_delegate:                        ; @rabin_delegate
	.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, x0
Lloh0:
	adrp	x8, _r@GOTPAGE
Lloh1:
	ldr	x8, [x8, _r@GOTPAGEOFF]
	ldr	w0, [x8, #8]
	ldr	x8, [x8]
	ldr	w1, [x8]
	bl	_r_io_desc_get
Lloh2:
	adrp	x23, _rabin_cmd@GOTPAGE
Lloh3:
	ldr	x23, [x23, _rabin_cmd@GOTPAGEOFF]
	ldr	x8, [x23]
	cbz	x8, LBB0_12
; %bb.1:
	ldr	w0, [x0]
	bl	_r_file_exists
	cbz	x0, LBB0_12
; %bb.2:
	ldr	x0, [x23]
	mov	x1, #0
	mov	x2, #0
	bl	_r_sys_cmd_str
	cbz	x0, LBB0_11
; %bb.3:
	mov	x21, x0
Lloh4:
	adrp	x20, _r@GOTPAGE
Lloh5:
	ldr	x20, [x20, _r@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x21, x22, #1
	cbz	x22, LBB0_11
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	cbz	x19, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x19]
	bl	_r_th_lock_enter
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	mov	w1, #10
	bl	_strchr
	mov	x22, x0
	cbz	x0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	strb	wzr, [x22]
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	mov	x1, x21
	mov	w2, #0
	bl	_r_core_cmd
	cbz	x19, LBB0_4
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x19]
	bl	_r_th_lock_leave
	b	LBB0_4
LBB0_11:
	ldr	x0, [x23]
	bl	_free
	str	xzr, [x23]
LBB0_12:
	cbz	x19, LBB0_14
; %bb.13:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_eprintf
LBB0_14:
Lloh8:
	adrp	x8, _R_TH_STOP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _R_TH_STOP@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	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
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_r,16,3                         ; @r
	.comm	_rabin_cmd,8,3                  ; @rabin_cmd
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rabin2: done\n"

	.comm	_R_TH_STOP,4,2                  ; @R_TH_STOP
	.no_dead_strip	_rabin_delegate
.subsections_via_symbols
