	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cr16_print_reg_rel_reg
_cr16_print_reg_rel_reg:                ## @cr16_print_reg_rel_reg
	.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	%r8, %r14
	movq	%rcx, %r12
	movq	%rdx, %rbx
	movl	%esi, %r13d
	movq	%rdi, %r15
	movq	%rdx, %rdi
	callq	_cr16_check_reg_boundaries
	movl	$-1, %ecx
	testq	%rax, %rax
	jne	LBB0_6
## %bb.1:
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	movq	%r12, %rdi
	callq	_cr16_check_reg_boundaries
	movl	$-1, %ecx
	testq	%rax, %rax
	jne	LBB0_6
## %bb.2:
	movq	_CR16_INSTR_MAXLEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	decq	%rsi
	movl	(%r15), %edi
	movq	_cr16_regs_names@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%r14, %r14
	je	LBB0_4
## %bb.3:
	movq	(%rax,%r12,8), %rcx
	movq	(%rax,%rbx,8), %r9
	leaq	L_.str(%rip), %rdx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_snprintf
	jmp	LBB0_5
LBB0_4:
	movq	(%rax,%rbx,8), %r8
	movq	(%rax,%r12,8), %r9
	leaq	L_.str.1(%rip), %rdx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_snprintf
LBB0_5:
	xorl	%ecx, %ecx
LBB0_6:
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CR16_INSTR_MAXLEN,8,3          ## @CR16_INSTR_MAXLEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s,0x%08x(%s)"

	.comm	_cr16_regs_names,8,3            ## @cr16_regs_names
L_.str.1:                               ## @.str.1
	.asciz	"0x%08x(%s),%s"

	.no_dead_strip	_cr16_print_reg_rel_reg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cr16_print_reg_rel_reg
_cr16_print_reg_rel_reg:                ; @cr16_print_reg_rel_reg
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x22, x4
	mov	x20, x3
	mov	x21, x2
	mov	x19, x1
	mov	x23, x0
	mov	x0, x2
	bl	_cr16_check_reg_boundaries
	cbnz	x0, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_cr16_check_reg_boundaries
	cbz	x0, LBB0_4
LBB0_2:
	mov	w0, #-1
LBB0_3:
	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
	add	sp, sp, #96
	ret
LBB0_4:
Lloh0:
	adrp	x8, _CR16_INSTR_MAXLEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CR16_INSTR_MAXLEN@GOTPAGEOFF]
	ldr	w0, [x23]
Lloh2:
	ldr	x8, [x8]
	sub	x1, x8, #1
Lloh3:
	adrp	x8, _cr16_regs_names@GOTPAGE
Lloh4:
	ldr	x8, [x8, _cr16_regs_names@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cbz	x22, LBB0_6
; %bb.5:
	ldr	x9, [x8, x20, lsl #3]
	ldr	x8, [x8, x21, lsl #3]
	stp	x19, x8, [sp, #8]
	str	x9, [sp]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_7
LBB0_6:
	ldr	x9, [x8, x21, lsl #3]
	ldr	x8, [x8, x20, lsl #3]
	stp	x9, x8, [sp, #8]
                                        ; kill: def $w19 killed $w19 killed $x19 def $x19
	str	x19, [sp]
Lloh8:
	adrp	x2, l_.str.1@PAGE
Lloh9:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_7:
	bl	_snprintf
	mov	w0, #0
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_CR16_INSTR_MAXLEN,8,3          ; @CR16_INSTR_MAXLEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s,0x%08x(%s)"

	.comm	_cr16_regs_names,8,3            ; @cr16_regs_names
l_.str.1:                               ; @.str.1
	.asciz	"0x%08x(%s),%s"

	.no_dead_strip	_cr16_print_reg_rel_reg
.subsections_via_symbols
