	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function record_insn_name
_record_insn_name:                      ## @record_insn_name
	.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, %r12
	movl	%edi, %r14d
	movq	_insn_name_ptr_size@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	cmpl	%edi, %eax
	jg	LBB0_2
## %bb.1:
	leal	(%rax,%rax), %ecx
	testl	%eax, %eax
	movl	$512, %ebx                      ## imm = 0x200
	cmovnel	%ecx, %ebx
	movq	_insn_name_ptr@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	leal	(,%rbx,8), %esi
	callq	_xrealloc
	movq	%rax, (%r13)
	movslq	(%r15), %rcx
	leaq	(%rax,%rcx,8), %rdi
	movl	%ebx, %edx
	subl	%ecx, %edx
	shll	$3, %edx
	xorl	%esi, %esi
	callq	_memset
	movl	%ebx, (%r15)
LBB0_2:
	testq	%r12, %r12
	je	LBB0_4
## %bb.3:
	cmpb	$0, (%r12)
	je	LBB0_4
## %bb.5:
	movq	%r12, %rdi
	callq	_xstrdup
	movq	%rax, %rbx
	movq	%rax, _record_insn_name.last_real_name(%rip)
	movl	%r14d, _record_insn_name.last_real_code(%rip)
	jmp	LBB0_6
LBB0_4:
	movq	_record_insn_name.last_real_name(%rip), %rdi
	callq	_strlen
	leaq	10(%rax), %rdi
	callq	_xmalloc
	movq	%rax, %rbx
	movq	_record_insn_name.last_real_name(%rip), %rdx
	movl	%r14d, %ecx
	subl	_record_insn_name.last_real_code(%rip), %ecx
	leaq	L_.str.1(%rip), %rsi
	movq	%rax, %rdi
	callq	_sprintf
LBB0_6:
	movq	_insn_name_ptr@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%r14d, %rcx
	movq	%rbx, (%rax,%rcx,8)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__DATA,__data
	.p2align	3                               ## @record_insn_name.last_real_name
_record_insn_name.last_real_name:
	.quad	L_.str

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"insn"

.zerofill __DATA,__bss,_record_insn_name.last_real_code,4,2 ## @record_insn_name.last_real_code
	.comm	_insn_name_ptr_size,4,2         ## @insn_name_ptr_size
	.comm	_insn_name_ptr,8,3              ## @insn_name_ptr
L_.str.1:                               ## @.str.1
	.asciz	"%s+%d"

	.no_dead_strip	_record_insn_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function record_insn_name
_record_insn_name:                      ; @record_insn_name
	.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
	mov	x19, x0
Lloh0:
	adrp	x22, _insn_name_ptr_size@GOTPAGE
Lloh1:
	ldr	x22, [x22, _insn_name_ptr_size@GOTPAGEOFF]
	ldr	w8, [x22]
Lloh2:
	adrp	x21, _insn_name_ptr@GOTPAGE
Lloh3:
	ldr	x21, [x21, _insn_name_ptr@GOTPAGEOFF]
	cmp	w8, w0
	b.gt	LBB0_2
; %bb.1:
	lsl	w9, w8, #1
	mov	w10, #512
	cmp	w8, #0
	csel	w23, w10, w9, eq
	ldr	x0, [x21]
	lsl	w1, w23, #3
	bl	_xrealloc
	str	x0, [x21]
	ldrsw	x8, [x22]
	add	x0, x0, x8, lsl #3
	sub	w8, w23, w8
	lsl	w2, w8, #3
	mov	w1, #0
	bl	_memset
	str	w23, [x22]
LBB0_2:
	cbz	x20, LBB0_5
; %bb.3:
	ldrb	w8, [x20]
	cbz	w8, LBB0_5
; %bb.4:
	mov	x0, x20
	bl	_xstrdup
	mov	x20, x0
Lloh4:
	adrp	x8, _record_insn_name.last_real_name@PAGE
	str	x0, [x8, _record_insn_name.last_real_name@PAGEOFF]
Lloh5:
	adrp	x8, _record_insn_name.last_real_code@PAGE
	str	w19, [x8, _record_insn_name.last_real_code@PAGEOFF]
	b	LBB0_6
LBB0_5:
	adrp	x22, _record_insn_name.last_real_name@PAGE
	ldr	x0, [x22, _record_insn_name.last_real_name@PAGEOFF]
	bl	_strlen
	add	x0, x0, #10
	bl	_xmalloc
	mov	x20, x0
	ldr	x2, [x22, _record_insn_name.last_real_name@PAGEOFF]
Lloh6:
	adrp	x8, _record_insn_name.last_real_code@PAGE
Lloh7:
	ldr	w8, [x8, _record_insn_name.last_real_code@PAGEOFF]
	sub	w3, w19, w8
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_sprintf
LBB0_6:
	ldr	x8, [x21]
	str	x20, [x8, w19, sxtw #3]
	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 AdrpAdrp	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdr	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__data
	.p2align	3                               ; @record_insn_name.last_real_name
_record_insn_name.last_real_name:
	.quad	l_.str

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"insn"

.zerofill __DATA,__bss,_record_insn_name.last_real_code,4,2 ; @record_insn_name.last_real_code
	.comm	_insn_name_ptr_size,4,2         ; @insn_name_ptr_size
	.comm	_insn_name_ptr,8,3              ; @insn_name_ptr
l_.str.1:                               ; @.str.1
	.asciz	"%s+%d"

	.no_dead_strip	_record_insn_name
.subsections_via_symbols
