	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function r_cmd_java_handle_insert_method_ref
_r_cmd_java_handle_insert_method_ref:   ## @r_cmd_java_handle_insert_method_ref
	.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	%rsi, %r14
	callq	_get_anal
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	callq	_r_cmd_java_get_bin_obj
	movq	%rax, %r13
	jmp	LBB0_3
LBB0_1:
	xorl	%r13d, %r13d
LBB0_3:
	xorl	%r15d, %r15d
	testq	%r14, %r14
	je	LBB0_4
## %bb.5:
	movq	%r14, %rdi
	movl	$32, %esi
	movl	$-1, %edx
	callq	_r_cmd_java_consumetok
	movq	%rax, %r12
	testq	%r13, %r13
	jne	LBB0_7
	jmp	LBB0_31
LBB0_4:
	xorl	%r12d, %r12d
	testq	%r13, %r13
	je	LBB0_31
LBB0_7:
	testq	%rbx, %rbx
	je	LBB0_10
## %bb.8:
	movl	(%rbx), %edi
	testl	%edi, %edi
	je	LBB0_10
## %bb.9:
	callq	_r_list_length
	testq	%rax, %rax
	je	LBB0_10
## %bb.11:
	testq	%r12, %r12
	je	LBB0_31
## %bb.12:
	cmpb	$0, (%r12)
	je	LBB0_31
## %bb.13:
	movq	%r12, %rdi
	movl	$32, %esi
	movl	$-1, %edx
	callq	_r_cmd_java_strtok
	testq	%rax, %rax
	je	LBB0_31
## %bb.14:
	movq	%rax, %r13
	cmpq	%rax, %r12
	je	LBB0_31
## %bb.15:
	movl	%r13d, %ebx
	subl	%r12d, %ebx
	incl	%ebx
	movl	%ebx, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_31
## %bb.16:
	movq	%rax, %r14
	leaq	L_.str.1(%rip), %rdx
	movq	%rax, %rdi
	movl	%ebx, %esi
	movq	%r12, %rcx
	callq	_snprintf
	cmpb	$0, 1(%r13)
	je	LBB0_20
## %bb.17:
	incq	%r13
	movq	%r13, %rdi
	movl	$32, %esi
	movl	$-1, %edx
	callq	_r_cmd_java_strtok
	testq	%rax, %rax
	je	LBB0_20
## %bb.18:
	movq	%rax, %r12
	cmpq	%rax, %r13
	je	LBB0_20
## %bb.19:
	movl	%r12d, %ebx
	subl	%r13d, %ebx
	incl	%ebx
	movl	%ebx, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_20
## %bb.21:
	leaq	L_.str.1(%rip), %rdx
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	movl	%ebx, %esi
	movq	%r13, %rcx
	callq	_snprintf
	cmpb	$0, 1(%r12)
	je	LBB0_28
## %bb.22:
	incq	%r12
	movq	%r12, %rdi
	movl	$32, %esi
	movl	$-1, %edx
	callq	_r_cmd_java_strtok
	testq	%rax, %rax
	je	LBB0_25
## %bb.23:
	movq	%rax, %rbx
	cmpq	%rax, %r12
	je	LBB0_28
## %bb.24:
	subl	%r12d, %ebx
	jmp	LBB0_27
LBB0_10:
	leaq	L_.str(%rip), %rdi
	callq	_eprintf
LBB0_30:
	movl	$1, %r15d
LBB0_31:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	movq	%r14, %rdi
	callq	_free
	jmp	LBB0_31
LBB0_25:
	cmpb	$0, (%r12)
	je	LBB0_28
## %bb.26:
	movq	%r12, %rdi
	callq	_strlen
	movl	%eax, %ebx
	testl	%eax, %eax
	jle	LBB0_28
LBB0_27:
	incl	%ebx
	movl	%ebx, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_28
## %bb.29:
	movq	%rax, %r13
	leaq	L_.str.1(%rip), %rdx
	movq	%rax, %rdi
	movl	%ebx, %esi
	movq	%r12, %rcx
	callq	_snprintf
	leaq	L_.str.2(%rip), %rdi
	movq	%r14, %rsi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdx
	movq	%r13, %rcx
	callq	_r_cons_printf
	movq	%r14, %rdi
	callq	_free
	movq	%rbx, %rdi
	callq	_free
	movq	%r13, %rdi
	callq	_free
	jmp	LBB0_30
LBB0_28:
	movq	%r14, %rdi
	callq	_free
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_free
	jmp	LBB0_31
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unable to access the current analysis, perform 'af' for function analysis.\n"

L_.str.1:                               ## @.str.1
	.asciz	"%s"

L_.str.2:                               ## @.str.2
	.asciz	"Would be adding class name:%s, name: %s, descriptor: %s\n"

	.no_dead_strip	_r_cmd_java_handle_insert_method_ref
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function r_cmd_java_handle_insert_method_ref
_r_cmd_java_handle_insert_method_ref:   ; @r_cmd_java_handle_insert_method_ref
	.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	x20, x1
	bl	_get_anal
	mov	x19, x0
	cbz	x0, LBB0_22
; %bb.1:
	mov	x0, x19
	bl	_r_cmd_java_get_bin_obj
	mov	x21, x0
	cbz	x20, LBB0_3
LBB0_2:
	mov	x0, x20
	mov	w1, #32
	mov	w2, #-1
	bl	_r_cmd_java_consumetok
	mov	x20, x0
LBB0_3:
	cbz	x21, LBB0_25
; %bb.4:
	cbz	x19, LBB0_20
; %bb.5:
	ldr	w0, [x19]
	cbz	w0, LBB0_20
; %bb.6:
	bl	_r_list_length
	cbz	x0, LBB0_20
; %bb.7:
	cbz	x20, LBB0_25
; %bb.8:
	ldrb	w8, [x20]
	cbz	w8, LBB0_25
; %bb.9:
	mov	x0, x20
	mov	w1, #32
	mov	w2, #-1
	bl	_r_cmd_java_strtok
	mov	x22, x0
	mov	w0, #0
	cbz	x22, LBB0_26
; %bb.10:
	cmp	x20, x22
	b.eq	LBB0_26
; %bb.11:
	sub	w8, w22, w20
	add	w21, w8, #1
	mov	x0, x21
	bl	_malloc
	cbz	x0, LBB0_26
; %bb.12:
	mov	x19, x0
Lloh0:
	adrp	x2, l_.str.1@PAGE
Lloh1:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x1, x21
	mov	x3, x20
	bl	_snprintf
	ldrb	w8, [x22, #1]!
	cbz	w8, LBB0_23
; %bb.13:
	mov	x0, x22
	mov	w1, #32
	mov	w2, #-1
	bl	_r_cmd_java_strtok
	cbz	x0, LBB0_23
; %bb.14:
	mov	x21, x0
	cmp	x22, x0
	b.eq	LBB0_23
; %bb.15:
	sub	w8, w21, w22
	add	w23, w8, #1
	mov	x0, x23
	bl	_malloc
	cbz	x0, LBB0_23
; %bb.16:
	mov	x20, x0
Lloh2:
	adrp	x2, l_.str.1@PAGE
Lloh3:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x1, x23
	mov	x3, x22
	bl	_snprintf
	ldrb	w8, [x21, #1]!
	cbz	w8, LBB0_31
; %bb.17:
	mov	x0, x21
	mov	w1, #32
	mov	w2, #-1
	bl	_r_cmd_java_strtok
	cbz	x0, LBB0_27
; %bb.18:
	cmp	x21, x0
	b.eq	LBB0_31
; %bb.19:
	sub	w0, w0, w21
	b	LBB0_29
LBB0_20:
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	bl	_eprintf
LBB0_21:
	mov	w0, #1
	b	LBB0_26
LBB0_22:
	mov	x21, #0
	cbnz	x20, LBB0_2
	b	LBB0_3
LBB0_23:
	mov	x0, x19
LBB0_24:
	bl	_free
LBB0_25:
	mov	w0, #0
LBB0_26:
	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
LBB0_27:
	ldrb	w8, [x21]
	cbz	w8, LBB0_31
; %bb.28:
	mov	x0, x21
	bl	_strlen
	cmp	w0, #1
	b.lt	LBB0_31
LBB0_29:
	add	w23, w0, #1
	mov	x0, x23
	bl	_malloc
	cbz	x0, LBB0_31
; %bb.30:
	mov	x22, x0
Lloh6:
	adrp	x2, l_.str.1@PAGE
Lloh7:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x1, x23
	mov	x3, x21
	bl	_snprintf
Lloh8:
	adrp	x0, l_.str.2@PAGE
Lloh9:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x19
	mov	x2, x20
	mov	x3, x22
	bl	_r_cons_printf
	mov	x0, x19
	bl	_free
	mov	x0, x20
	bl	_free
	mov	x0, x22
	bl	_free
	b	LBB0_21
LBB0_31:
	mov	x0, x19
	bl	_free
	mov	x0, x20
	b	LBB0_24
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unable to access the current analysis, perform 'af' for function analysis.\n"

l_.str.1:                               ; @.str.1
	.asciz	"%s"

l_.str.2:                               ; @.str.2
	.asciz	"Would be adding class name:%s, name: %s, descriptor: %s\n"

	.no_dead_strip	_r_cmd_java_handle_insert_method_ref
.subsections_via_symbols
