	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_copy_to_mode_reg               ## -- Begin function copy_to_mode_reg
	.p2align	4, 0x90
_copy_to_mode_reg:                      ## @copy_to_mode_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movl	%edi, %r15d
	callq	_gen_reg_rtx
	movq	%rax, %r14
	movq	_VOIDmode@GOTPCREL(%rip), %r12
	movq	(%r12), %rsi
	movq	%rbx, %rdi
	callq	_general_operand
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_force_operand
	movq	%rax, %rbx
LBB0_2:
	movq	%rbx, %rdi
	callq	_GET_MODE
	movl	%r15d, %ecx
	movl	$1, %edi
	cmpq	%rcx, %rax
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_GET_MODE
	xorl	%edi, %edi
	cmpq	(%r12), %rax
	sete	%dil
LBB0_4:
	callq	_gcc_assert
	cmpq	%r14, %rbx
	je	LBB0_6
## %bb.5:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_emit_move_insn
LBB0_6:
	movq	%r14, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VOIDmode,8,3                   ## @VOIDmode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_copy_to_mode_reg               ; -- Begin function copy_to_mode_reg
	.p2align	2
_copy_to_mode_reg:                      ; @copy_to_mode_reg
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x21, x0
	bl	_gen_reg_rtx
	mov	x19, x0
Lloh0:
	adrp	x22, _VOIDmode@GOTPAGE
Lloh1:
	ldr	x22, [x22, _VOIDmode@GOTPAGEOFF]
	ldr	x1, [x22]
	mov	x0, x20
	bl	_general_operand
	cbnz	w0, LBB0_2
; %bb.1:
	mov	x0, x20
	mov	x1, x19
	bl	_force_operand
	mov	x20, x0
LBB0_2:
	mov	x0, x20
	bl	_GET_MODE
	cmp	x0, w21, uxtw
	b.ne	LBB0_4
; %bb.3:
	mov	w0, #1
	b	LBB0_5
LBB0_4:
	mov	x0, x20
	bl	_GET_MODE
	ldr	x8, [x22]
	cmp	x0, x8
	cset	w0, eq
LBB0_5:
	bl	_gcc_assert
	cmp	x20, x19
	b.eq	LBB0_7
; %bb.6:
	mov	x0, x19
	mov	x1, x20
	bl	_emit_move_insn
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_VOIDmode,8,3                   ; @VOIDmode
.subsections_via_symbols
