	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rabin_do_operation
_rabin_do_operation:                    ## @rabin_do_operation
	.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
	callq	_strdup
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %r14
	movq	%rax, %rdi
	movl	$47, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	%rax, %r12
	incq	%r12
	movb	$0, (%rax)
	movq	%r12, %rdi
	movl	$47, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	%rax, %r15
	movb	$0, (%rax)
	incq	%r15
	jmp	LBB0_7
LBB0_4:
	xorl	%ebx, %ebx
	jmp	LBB0_49
LBB0_5:
	xorl	%r15d, %r15d
	xorl	%r12d, %r12d
	jmp	LBB0_7
LBB0_6:
	xorl	%r15d, %r15d
LBB0_7:
	movq	_output@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	jne	LBB0_9
## %bb.8:
	movq	_file@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rcx)
LBB0_9:
	movq	_bin@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	callq	_r_bin_cur
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	%rax, %rbx
	movq	8(%rax), %rdi
	callq	_r_buf_new_with_buf
	movq	%rax, %r13
	movq	8(%rbx), %rdi
	callq	_r_buf_free
	movq	%r13, 8(%rbx)
	movq	_bin@GOTPCREL(%rip), %r13
LBB0_11:
	movsbl	(%r14), %eax
	addl	$-67, %eax
	cmpl	$47, %eax
	ja	LBB0_46
## %bb.12:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_13:
	movl	(%r13), %edi
	callq	_r_bin_cur
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_r_bin_file_cur_plugin
	testq	%r15, %r15
	je	LBB0_39
## %bb.14:
	testq	%rax, %rax
	jne	LBB0_39
## %bb.15:
	movl	(%r15), %edi
	testl	%edi, %edi
	je	LBB0_19
## %bb.16:
	xorl	%esi, %esi
	callq	_r_list_get_n
	testq	%rax, %rax
	je	LBB0_19
## %bb.17:
	movq	%rax, %rbx
	cmpl	$0, (%rax)
	jne	LBB0_19
## %bb.18:
	movl	(%r13), %r12d
	movq	_UT64_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	%r12d, %edi
	callq	_r_bin_get_laddr
	movl	%r12d, %edi
	movq	%r15, %rsi
	movl	%r13d, %edx
	movl	%eax, %ecx
	movq	%rbx, %r8
	callq	_r_bin_file_object_new_from_xtr_data
	testl	%eax, %eax
	je	LBB0_51
LBB0_19:
	movq	%r15, %rdi
	callq	_r_bin_file_cur_plugin
	testq	%rax, %rax
	jne	LBB0_40
LBB0_51:
	movl	$1, %ebx
	jmp	LBB0_48
LBB0_21:
	movl	(%r13), %edi
	callq	_r_bin_wr_rpath_del
	jmp	LBB0_37
LBB0_22:
	testq	%r12, %r12
	je	LBB0_46
## %bb.23:
	cmpb	$108, (%r12)
	jne	LBB0_46
## %bb.24:
	testq	%r15, %r15
	je	LBB0_47
## %bb.25:
	movl	(%r13), %edi
	movq	%r15, %rsi
	callq	_r_bin_wr_addlib
	testl	%eax, %eax
	jne	LBB0_37
	jmp	LBB0_47
LBB0_26:
	testq	%r12, %r12
	je	LBB0_46
## %bb.27:
	movsbl	(%r12), %eax
	cmpl	$83, %eax
	je	LBB0_43
## %bb.28:
	cmpl	$115, %eax
	jne	LBB0_46
## %bb.29:
	xorl	%edi, %edi
	testq	%r15, %r15
	je	LBB0_31
## %bb.30:
	movq	%r15, %rsi
	callq	_r_num_math
	movq	%rax, %rdi
LBB0_31:
	callq	_rabin_dump_symbols
	jmp	LBB0_45
LBB0_32:
	movl	(%r13), %ebx
	xorl	%edi, %edi
	movq	%r12, %rsi
	callq	_r_num_math
	movl	%ebx, %edi
	movq	%rax, %rsi
	callq	_r_bin_wr_entry
	testl	%eax, %eax
	jne	LBB0_37
	jmp	LBB0_38
LBB0_33:
	xorl	%edi, %edi
	movq	%r15, %rsi
	callq	_r_num_math
	testl	%eax, %eax
	jne	LBB0_35
## %bb.34:
	movq	%r15, %rdi
	callq	_r_str_rwx
                                        ## kill: def $eax killed $eax def $rax
LBB0_35:
	movl	(%r13), %edi
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_r_bin_wr_scn_perms
	jmp	LBB0_37
LBB0_36:
	movl	(%r13), %ebx
	xorl	%edi, %edi
	movq	%r15, %rsi
	callq	_r_num_math
	movl	%ebx, %edi
	movq	%r12, %rsi
	movq	%rax, %rdx
	callq	_r_bin_wr_scn_resize
LBB0_37:
	movl	(%r13), %edi
	movq	_output@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	callq	_r_bin_wr_output
	movl	$1, %ebx
	testl	%eax, %eax
	jne	LBB0_48
LBB0_38:
	leaq	L_.str.1(%rip), %rdi
	callq	_eprintf
	movl	$1, %ebx
	jmp	LBB0_48
LBB0_39:
	testq	%rax, %rax
	je	LBB0_51
LBB0_40:
	movq	(%rax), %rcx
	movl	$1, %ebx
	testq	%rcx, %rcx
	je	LBB0_48
## %bb.41:
	movq	_rad@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_R_MODE_JSON@GOTPCREL(%rip), %rdx
	xorl	%esi, %esi
	cmpl	(%rdx), %eax
	sete	%sil
	movq	%r15, %rdi
	callq	*%rcx
	testq	%rax, %rax
	je	LBB0_48
## %bb.42:
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_r_cons_println
	xorl	%eax, %eax
	callq	_r_cons_flush
	movq	%r15, %rdi
	callq	_free
	jmp	LBB0_48
LBB0_43:
	testq	%r15, %r15
	je	LBB0_46
## %bb.44:
	movq	%r15, %rdi
	callq	___dumpSections
LBB0_45:
	movl	$1, %ebx
	testl	%eax, %eax
	jne	LBB0_48
	jmp	LBB0_47
LBB0_46:
	leaq	L_.str(%rip), %rdi
	callq	_eprintf
LBB0_47:
	xorl	%ebx, %ebx
LBB0_48:
	movq	%r14, %rdi
	callq	_free
LBB0_49:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_46, LBB0_46-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_26, LBB0_26-LJTI0_0
.set L0_0_set_32, LBB0_32-LJTI0_0
.set L0_0_set_33, LBB0_33-LJTI0_0
.set L0_0_set_36, LBB0_36-LJTI0_0
LJTI0_0:
	.long	L0_0_set_13
	.long	L0_0_set_46
	.long	L0_0_set_46
	.long	L0_0_set_46
	.long	L0_0_set_46
	.long	L0_0_set_46
	.long	L0_0_set_46
	.long	L0_0_set_46
	.long	L0_0_set_46
	.long	L0_0_set_46
	.long	L0_0_set_46
	.long	L0_0_set_46
	.long	L0_0_set_46
	.long	L0_0_set_46
	.long	L0_0_set_46
	.long	L0_0_set_21
	.long	L0_0_set_46
	.long	L0_0_set_46
	.long	L0_0_set_46
	.long	L0_0_set_46
	.long	L0_0_set_46
	.long	L0_0_set_46
	.long	L0_0_set_46
	.long	L0_0_set_46
	.long	L0_0_set_46
	.long	L0_0_set_46
	.long	L0_0_set_46
	.long	L0_0_set_46
	.long	L0_0_set_46
	.long	L0_0_set_46
	.long	L0_0_set_22
	.long	L0_0_set_46
	.long	L0_0_set_46
	.long	L0_0_set_26
	.long	L0_0_set_32
	.long	L0_0_set_46
	.long	L0_0_set_46
	.long	L0_0_set_46
	.long	L0_0_set_46
	.long	L0_0_set_46
	.long	L0_0_set_46
	.long	L0_0_set_46
	.long	L0_0_set_46
	.long	L0_0_set_46
	.long	L0_0_set_46
	.long	L0_0_set_33
	.long	L0_0_set_46
	.long	L0_0_set_36
	.end_data_region
                                        ## -- End function
	.comm	_output,8,3                     ## @output
	.comm	_file,8,3                       ## @file
	.comm	_bin,4,2                        ## @bin
	.comm	_UT64_MAX,4,2                   ## @UT64_MAX
	.comm	_rad,4,2                        ## @rad
	.comm	_R_MODE_JSON,4,2                ## @R_MODE_JSON
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unknown operation. use -O help\n"

L_.str.1:                               ## @.str.1
	.asciz	"Cannot dump :(\n"

	.no_dead_strip	_rabin_do_operation
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rabin_do_operation
_rabin_do_operation:                    ; @rabin_do_operation
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	bl	_strdup
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
	mov	w1, #47
	bl	_strchr
	mov	x20, x0
	cbz	x0, LBB0_5
; %bb.2:
	strb	wzr, [x20], #1
	mov	x0, x20
	mov	w1, #47
	bl	_strchr
	mov	x21, x0
	cbz	x0, LBB0_6
; %bb.3:
	strb	wzr, [x21], #1
	b	LBB0_6
LBB0_4:
	mov	w20, #0
	b	LBB0_45
LBB0_5:
	mov	x21, #0
LBB0_6:
Lloh0:
	adrp	x25, _output@GOTPAGE
Lloh1:
	ldr	x25, [x25, _output@GOTPAGEOFF]
	ldr	x8, [x25]
	cbnz	x8, LBB0_8
; %bb.7:
Lloh2:
	adrp	x8, _file@GOTPAGE
Lloh3:
	ldr	x8, [x8, _file@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	str	x8, [x25]
LBB0_8:
Lloh5:
	adrp	x24, _bin@GOTPAGE
Lloh6:
	ldr	x24, [x24, _bin@GOTPAGEOFF]
	ldr	w0, [x24]
	bl	_r_bin_cur
	cbz	x0, LBB0_10
; %bb.9:
	mov	x22, x0
	ldr	x0, [x0, #8]
	bl	_r_buf_new_with_buf
	mov	x23, x0
	ldr	x0, [x22, #8]
	bl	_r_buf_free
	str	x23, [x22, #8]
LBB0_10:
	ldrsb	w8, [x19]
	sub	w8, w8, #67
	cmp	w8, #47
	b.hi	LBB0_42
; %bb.11:
Lloh7:
	adrp	x9, lJTI0_0@PAGE
Lloh8:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_12
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_12:
	ldr	w0, [x24]
	bl	_r_bin_cur
	mov	x20, x0
	bl	_r_bin_file_cur_plugin
	cmp	x20, #0
	ccmp	x0, #0, #0, ne
	b.eq	LBB0_32
; %bb.13:
	cbnz	x0, LBB0_37
	b	LBB0_30
LBB0_14:
	ldr	w0, [x24]
	bl	_r_bin_wr_rpath_del
	b	LBB0_29
LBB0_15:
	cbz	x20, LBB0_42
; %bb.16:
	ldrb	w8, [x20]
	cmp	w8, #108
	b.ne	LBB0_42
; %bb.17:
	cbz	x21, LBB0_43
; %bb.18:
	ldr	w0, [x24]
	mov	x1, x21
	bl	_r_bin_wr_addlib
	cbnz	w0, LBB0_29
	b	LBB0_43
LBB0_19:
	cbz	x20, LBB0_42
; %bb.20:
	ldrsb	w8, [x20]
	cmp	w8, #83
	b.eq	LBB0_40
; %bb.21:
	cmp	w8, #115
	b.ne	LBB0_42
; %bb.22:
	mov	x0, #0
	cbz	x21, LBB0_46
; %bb.23:
	mov	x1, x21
	bl	_r_num_math
	bl	_rabin_dump_symbols
	cbnz	w0, LBB0_30
	b	LBB0_43
LBB0_24:
	ldr	w21, [x24]
	mov	x0, #0
	mov	x1, x20
	bl	_r_num_math
	mov	x1, x0
	mov	x0, x21
	bl	_r_bin_wr_entry
	cbnz	w0, LBB0_29
	b	LBB0_31
LBB0_25:
	mov	x0, #0
	mov	x1, x21
	bl	_r_num_math
	mov	x2, x0
	cbnz	w2, LBB0_27
; %bb.26:
	mov	x0, x21
	bl	_r_str_rwx
	mov	x2, x0
LBB0_27:
	ldr	w0, [x24]
	mov	x1, x20
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_r_bin_wr_scn_perms
	b	LBB0_29
LBB0_28:
	ldr	w22, [x24]
	mov	x0, #0
	mov	x1, x21
	bl	_r_num_math
	mov	x2, x0
	mov	x0, x22
	mov	x1, x20
	bl	_r_bin_wr_scn_resize
LBB0_29:
	ldr	w0, [x24]
	ldr	x1, [x25]
	bl	_r_bin_wr_output
	cbz	w0, LBB0_31
LBB0_30:
	mov	w20, #1
	b	LBB0_44
LBB0_31:
Lloh9:
	adrp	x0, l_.str.1@PAGE
Lloh10:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_eprintf
	mov	w20, #1
	b	LBB0_44
LBB0_32:
	ldr	w0, [x20]
	cbz	w0, LBB0_36
; %bb.33:
	mov	w1, #0
	bl	_r_list_get_n
	cbz	x0, LBB0_36
; %bb.34:
	mov	x21, x0
	ldr	w8, [x0]
	cbnz	w8, LBB0_36
; %bb.35:
	ldr	w22, [x24]
Lloh11:
	adrp	x8, _UT64_MAX@GOTPAGE
Lloh12:
	ldr	x8, [x8, _UT64_MAX@GOTPAGEOFF]
Lloh13:
	ldr	w23, [x8]
	mov	x0, x22
	bl	_r_bin_get_laddr
	mov	x3, x0
	mov	x0, x22
	mov	x1, x20
	mov	x2, x23
	mov	x4, x21
	bl	_r_bin_file_object_new_from_xtr_data
	cbz	w0, LBB0_30
LBB0_36:
	mov	x0, x20
	bl	_r_bin_file_cur_plugin
	cbz	x0, LBB0_30
LBB0_37:
	ldr	x8, [x0]
	cbz	x8, LBB0_30
; %bb.38:
Lloh14:
	adrp	x9, _rad@GOTPAGE
Lloh15:
	ldr	x9, [x9, _rad@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
Lloh17:
	adrp	x10, _R_MODE_JSON@GOTPAGE
Lloh18:
	ldr	x10, [x10, _R_MODE_JSON@GOTPAGEOFF]
Lloh19:
	ldr	w10, [x10]
	cmp	w9, w10
	cset	w1, eq
	mov	x0, x20
	blr	x8
	cbz	x0, LBB0_30
; %bb.39:
	mov	x20, x0
	bl	_r_cons_println
	bl	_r_cons_flush
	mov	x0, x20
	bl	_free
	mov	w20, #1
	b	LBB0_44
LBB0_40:
	cbz	x21, LBB0_42
; %bb.41:
	mov	x0, x21
	bl	___dumpSections
	cbnz	w0, LBB0_30
	b	LBB0_43
LBB0_42:
Lloh20:
	adrp	x0, l_.str@PAGE
Lloh21:
	add	x0, x0, l_.str@PAGEOFF
	bl	_eprintf
LBB0_43:
	mov	w20, #0
LBB0_44:
	mov	x0, x19
	bl	_free
LBB0_45:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_46:
	bl	_rabin_dump_symbols
	cbnz	w0, LBB0_30
	b	LBB0_43
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_12-LBB0_12)>>2
	.byte	(LBB0_42-LBB0_12)>>2
	.byte	(LBB0_42-LBB0_12)>>2
	.byte	(LBB0_42-LBB0_12)>>2
	.byte	(LBB0_42-LBB0_12)>>2
	.byte	(LBB0_42-LBB0_12)>>2
	.byte	(LBB0_42-LBB0_12)>>2
	.byte	(LBB0_42-LBB0_12)>>2
	.byte	(LBB0_42-LBB0_12)>>2
	.byte	(LBB0_42-LBB0_12)>>2
	.byte	(LBB0_42-LBB0_12)>>2
	.byte	(LBB0_42-LBB0_12)>>2
	.byte	(LBB0_42-LBB0_12)>>2
	.byte	(LBB0_42-LBB0_12)>>2
	.byte	(LBB0_42-LBB0_12)>>2
	.byte	(LBB0_14-LBB0_12)>>2
	.byte	(LBB0_42-LBB0_12)>>2
	.byte	(LBB0_42-LBB0_12)>>2
	.byte	(LBB0_42-LBB0_12)>>2
	.byte	(LBB0_42-LBB0_12)>>2
	.byte	(LBB0_42-LBB0_12)>>2
	.byte	(LBB0_42-LBB0_12)>>2
	.byte	(LBB0_42-LBB0_12)>>2
	.byte	(LBB0_42-LBB0_12)>>2
	.byte	(LBB0_42-LBB0_12)>>2
	.byte	(LBB0_42-LBB0_12)>>2
	.byte	(LBB0_42-LBB0_12)>>2
	.byte	(LBB0_42-LBB0_12)>>2
	.byte	(LBB0_42-LBB0_12)>>2
	.byte	(LBB0_42-LBB0_12)>>2
	.byte	(LBB0_15-LBB0_12)>>2
	.byte	(LBB0_42-LBB0_12)>>2
	.byte	(LBB0_42-LBB0_12)>>2
	.byte	(LBB0_19-LBB0_12)>>2
	.byte	(LBB0_24-LBB0_12)>>2
	.byte	(LBB0_42-LBB0_12)>>2
	.byte	(LBB0_42-LBB0_12)>>2
	.byte	(LBB0_42-LBB0_12)>>2
	.byte	(LBB0_42-LBB0_12)>>2
	.byte	(LBB0_42-LBB0_12)>>2
	.byte	(LBB0_42-LBB0_12)>>2
	.byte	(LBB0_42-LBB0_12)>>2
	.byte	(LBB0_42-LBB0_12)>>2
	.byte	(LBB0_42-LBB0_12)>>2
	.byte	(LBB0_42-LBB0_12)>>2
	.byte	(LBB0_25-LBB0_12)>>2
	.byte	(LBB0_42-LBB0_12)>>2
	.byte	(LBB0_28-LBB0_12)>>2
                                        ; -- End function
	.comm	_output,8,3                     ; @output
	.comm	_file,8,3                       ; @file
	.comm	_bin,4,2                        ; @bin
	.comm	_UT64_MAX,4,2                   ; @UT64_MAX
	.comm	_rad,4,2                        ; @rad
	.comm	_R_MODE_JSON,4,2                ; @R_MODE_JSON
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unknown operation. use -O help\n"

l_.str.1:                               ; @.str.1
	.asciz	"Cannot dump :(\n"

	.no_dead_strip	_rabin_do_operation
.subsections_via_symbols
