	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function deg_to_str
LCPI0_0:
	.quad	0x4076800000000000              ## double 360
LCPI0_1:
	.quad	0x404e000000000000              ## double 60
LCPI0_2:
	.quad	0x408f400000000000              ## double 1000
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_deg_to_str
	.p2align	4, 0x90
_deg_to_str:                            ## @deg_to_str
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	$-1, %eax
	testl	%esi, %esi
	jle	LBB0_4
## %bb.1:
	movq	%rdi, %r14
	movb	$0, (%rdi)
	xorpd	%xmm1, %xmm1
	ucomisd	%xmm0, %xmm1
	ja	LBB0_4
## %bb.2:
	ucomisd	LCPI0_0(%rip), %xmm0
	ja	LBB0_4
## %bb.3:
	movl	%esi, %ebx
	leaq	-32(%rbp), %rdi
	callq	_modf
	movsd	%xmm0, -24(%rbp)
	mulsd	LCPI0_1(%rip), %xmm0
	leaq	-24(%rbp), %rdi
	callq	_modf
	cvttsd2si	-32(%rbp), %ecx
	mulsd	LCPI0_1(%rip), %xmm0
	cvttsd2si	-24(%rbp), %r8d
	mulsd	LCPI0_2(%rip), %xmm0
	cvttsd2si	%xmm0, %r9d
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_snprintf
	xorl	%eax, %eax
LBB0_4:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%03d/1,%02d/1,%05d/1000"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_deg_to_str                     ; -- Begin function deg_to_str
	.p2align	2
_deg_to_str:                            ; @deg_to_str
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	d9, d8, [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 b8, -40
	.cfi_offset b9, -48
	cmp	w1, #1
	b.lt	LBB0_2
; %bb.1:
	mov	x20, x0
	strb	wzr, [x0]
	fcmp	d0, #0.0
	mov	x8, #140737488355328
	movk	x8, #16502, lsl #48
	fmov	d1, x8
	fccmp	d0, d1, #0, pl
	b.le	LBB0_3
LBB0_2:
	mov	w0, #-1
	b	LBB0_4
LBB0_3:
	mov	x19, x1
	add	x0, sp, #8
	bl	_modf
	str	d0, [sp]
	mov	x8, #4633641066610819072
	fmov	d8, x8
	fmul	d0, d0, d8
	mov	x0, sp
	bl	_modf
	ldr	d1, [sp, #8]
	fcvtzs	w3, d1
	ldr	d1, [sp]
	fcvtzs	w4, d1
	fmul	d0, d0, d8
	mov	x8, #70368744177664
	movk	x8, #16527, lsl #48
	fmov	d1, x8
	fmul	d0, d0, d1
	fcvtzs	w5, d0
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	bl	_snprintf
	mov	w0, #0
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%03d/1,%02d/1,%05d/1000"

.subsections_via_symbols
