	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_output_387_reg_move            ## -- Begin function output_387_reg_move
	.p2align	4, 0x90
_output_387_reg_move:                   ## @output_387_reg_move
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movl	%edi, %r14d
	movl	4(%rsi), %edi
	callq	_REG_P
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	_REG_DEAD@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	4(%rbx), %edi
	callq	_REGNO
	movl	%r14d, %edi
	movl	%r15d, %esi
	movq	%rax, %rdx
	callq	_find_regno_note
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movl	(%rbx), %edi
	callq	_REGNO
	movq	_FIRST_STACK_REG@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.4:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_output_387_ffreep              ## TAILCALL
LBB0_5:
	movl	(%rbx), %edi
	callq	_STACK_TOP_P
	testq	%rax, %rax
	leaq	L_.str.2(%rip), %rcx
	leaq	L_.str.1(%rip), %rax
	cmoveq	%rcx, %rax
	jmp	LBB0_6
LBB0_3:
	leaq	L_.str(%rip), %rax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_DEAD,4,2                   ## @REG_DEAD
	.comm	_FIRST_STACK_REG,8,3            ## @FIRST_STACK_REG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fstp\t%y0"

L_.str.1:                               ## @.str.1
	.asciz	"fld%z1\t%y1"

L_.str.2:                               ## @.str.2
	.asciz	"fst\t%y0"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_output_387_reg_move            ; -- Begin function output_387_reg_move
	.p2align	2
_output_387_reg_move:                   ; @output_387_reg_move
	.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	x19, x1
	mov	x20, x0
	ldr	w0, [x1, #4]
	bl	_REG_P
	cbz	x0, LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _REG_DEAD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REG_DEAD@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	ldr	w0, [x19, #4]
	bl	_REGNO
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_find_regno_note
	cbz	x0, LBB0_4
; %bb.2:
	ldr	w0, [x19]
	bl	_REGNO
Lloh3:
	adrp	x8, _FIRST_STACK_REG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FIRST_STACK_REG@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.3:
	mov	x0, x19
	mov	w1, #0
	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
	b	_output_387_ffreep
LBB0_4:
	ldr	w0, [x19]
	bl	_STACK_TOP_P
Lloh6:
	adrp	x8, l_.str.1@PAGE
Lloh7:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh8:
	adrp	x9, l_.str.2@PAGE
Lloh9:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	x0, #0
	csel	x0, x9, x8, eq
	b	LBB0_6
LBB0_5:
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
LBB0_6:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_DEAD,4,2                   ; @REG_DEAD
	.comm	_FIRST_STACK_REG,8,3            ; @FIRST_STACK_REG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fstp\t%y0"

l_.str.1:                               ; @.str.1
	.asciz	"fld%z1\t%y1"

l_.str.2:                               ; @.str.2
	.asciz	"fst\t%y0"

.subsections_via_symbols
