	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mconvert
_mconvert:                              ## @mconvert
	.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	%rdi, %r15
	movl	(%rsi), %edx
	leal	-128(%rdx), %eax
	cmpl	$37, %eax
	ja	LBB0_14
## %bb.1:
	movq	%rsi, %rbx
	movl	$1, %r14d
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_cvt_64
	jmp	LBB0_13
LBB0_3:
	movq	(%r15), %rax
	movb	$0, 7(%rax)
	jmp	LBB0_4
LBB0_7:
	movq	(%r15), %rax
	movl	(%rax), %ecx
	movl	4(%rax), %edx
	shll	$24, %edx
	shll	$16, %ecx
	orl	%edx, %ecx
	movl	12(%rax), %edx
	shll	$8, %edx
	orl	%ecx, %edx
	orl	8(%rax), %edx
	movl	%edx, (%r15)
	jmp	LBB0_12
LBB0_8:
	movq	(%r15), %rdi
	callq	_r_read_le32
	jmp	LBB0_11
LBB0_9:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_cvt_double
	jmp	LBB0_13
LBB0_10:
	movq	(%r15), %rdi
	callq	_r_read_be32
LBB0_11:
	movl	%eax, (%r15)
LBB0_12:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_cvt_32
LBB0_13:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_file_magerror
	xorl	%r14d, %r14d
	jmp	LBB0_13
LBB0_15:
	movq	(%r15), %rbx
	movzbl	(%rbx), %ecx
	cmpb	$7, %cl
	movl	$7, %eax
	cmovbl	%ecx, %eax
	testb	%al, %al
	je	LBB0_17
## %bb.16:
	movzbl	%al, %r12d
	leaq	1(%rbx), %rsi
	movq	%rbx, %rdi
	movq	%r12, %rdx
	callq	_memmove
	addq	%r12, %rbx
LBB0_17:
	movb	$0, (%rbx)
LBB0_4:
	movq	(%r15), %rbx
	movq	%rbx, %rdi
	callq	_strlen
	testq	%rax, %rax
	je	LBB0_13
## %bb.5:
	cmpb	$10, -1(%rax,%rbx)
	jne	LBB0_13
## %bb.6:
	movb	$0, -1(%rbx,%rax)
	jmp	LBB0_13
LBB0_18:
	movq	(%r15), %rax
	movl	4(%rax), %ecx
	shll	$8, %ecx
	orl	(%rax), %ecx
	jmp	LBB0_22
LBB0_19:
	movq	(%r15), %rax
	movl	12(%rax), %ecx
	shll	$24, %ecx
	movl	4(%rax), %edx
	movl	8(%rax), %esi
	shll	$16, %esi
	orl	%ecx, %esi
	shll	$8, %edx
	orl	%esi, %edx
	orl	(%rax), %edx
	movl	%edx, (%r15)
	jmp	LBB0_25
LBB0_20:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_cvt_8
	jmp	LBB0_13
LBB0_21:
	movq	(%r15), %rax
	movl	(%rax), %ecx
	shll	$8, %ecx
	orl	4(%rax), %ecx
LBB0_22:
	movw	%cx, (%r15)
LBB0_23:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_cvt_16
	jmp	LBB0_13
LBB0_24:
	movq	(%r15), %rax
	movl	(%rax), %ecx
	movl	4(%rax), %edx
	shll	$24, %ecx
	shll	$16, %edx
	orl	%ecx, %edx
	movl	8(%rax), %ecx
	shll	$8, %ecx
	orl	%edx, %ecx
	orl	12(%rax), %ecx
	movl	%ecx, (%r15)
LBB0_25:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_cvt_float
	jmp	LBB0_13
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_25, LBB0_25-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
LJTI0_0:
	.long	L0_0_set_3
	.long	L0_0_set_23
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_15
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_12
	.long	L0_0_set_3
	.long	L0_0_set_18
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_19
	.long	L0_0_set_9
	.long	L0_0_set_8
	.long	L0_0_set_12
	.long	L0_0_set_25
	.long	L0_0_set_9
	.long	L0_0_set_13
	.long	L0_0_set_12
	.long	L0_0_set_20
	.long	L0_0_set_3
	.long	L0_0_set_21
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_24
	.long	L0_0_set_9
	.long	L0_0_set_10
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid type %d in mconvert()"

	.no_dead_strip	_mconvert
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mconvert
_mconvert:                              ; @mconvert
	.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, x0
	ldr	w2, [x1]
	sub	w8, w2, #128
	cmp	w8, #37
	b.hi	LBB0_12
; %bb.1:
	mov	x20, x1
	mov	w0, #1
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	mov	x0, x19
	mov	x1, x20
	bl	_cvt_64
	b	LBB0_10
LBB0_3:
	ldr	x8, [x19]
	strb	wzr, [x8, #7]
	b	LBB0_16
LBB0_4:
	ldr	x8, [x19]
	ldp	w10, w9, [x8]
	lsl	w10, w10, #16
	orr	w9, w10, w9, lsl #24
	ldp	w8, w10, [x8, #8]
	orr	w9, w9, w10, lsl #8
	orr	w8, w9, w8
	str	w8, [x19]
	b	LBB0_9
LBB0_5:
	ldr	x0, [x19]
	bl	_r_read_le32
	b	LBB0_8
LBB0_6:
	mov	x0, x19
	mov	x1, x20
	bl	_cvt_double
	b	LBB0_10
LBB0_7:
	ldr	x0, [x19]
	bl	_r_read_be32
LBB0_8:
	str	w0, [x19]
LBB0_9:
	mov	x0, x19
	mov	x1, x20
	bl	_cvt_32
LBB0_10:
	mov	w0, #1
LBB0_11:
	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
LBB0_12:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_file_magerror
	mov	w0, #0
	b	LBB0_11
LBB0_13:
	ldr	x20, [x19]
	ldrb	w8, [x20]
	mov	w9, #7
	cmp	w8, #7
	csel	w21, w8, w9, lo
	cbz	w21, LBB0_15
; %bb.14:
	add	x1, x20, #1
	mov	x0, x20
	mov	x2, x21
	bl	_memmove
	add	x20, x20, x21
LBB0_15:
	strb	wzr, [x20]
LBB0_16:
	ldr	x19, [x19]
	mov	x0, x19
	bl	_strlen
	cbz	x0, LBB0_10
; %bb.17:
	sub	x8, x0, #1
	ldrb	w9, [x19, x8]
	cmp	w9, #10
	b.ne	LBB0_10
; %bb.18:
	strb	wzr, [x19, x8]
	b	LBB0_10
LBB0_19:
	ldr	x8, [x19]
	ldp	w8, w9, [x8]
	b	LBB0_23
LBB0_20:
	ldr	x8, [x19]
	ldp	w10, w9, [x8, #8]
	lsl	w10, w10, #16
	orr	w9, w10, w9, lsl #24
	ldp	w8, w10, [x8]
	b	LBB0_26
LBB0_21:
	mov	x0, x19
	mov	x1, x20
	bl	_cvt_8
	b	LBB0_10
LBB0_22:
	ldr	x8, [x19]
	ldp	w9, w8, [x8]
LBB0_23:
	orr	w8, w8, w9, lsl #8
	strh	w8, [x19]
LBB0_24:
	mov	x0, x19
	mov	x1, x20
	bl	_cvt_16
	b	LBB0_10
LBB0_25:
	ldr	x8, [x19]
	ldp	w9, w10, [x8]
	lsl	w10, w10, #16
	orr	w9, w10, w9, lsl #24
	ldp	w10, w8, [x8, #8]
LBB0_26:
	orr	w9, w9, w10, lsl #8
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_27:
	mov	x0, x19
	mov	x1, x20
	bl	_cvt_float
	b	LBB0_10
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_24-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_19-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_20-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_27-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_22-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_25-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid type %d in mconvert()"

	.no_dead_strip	_mconvert
.subsections_via_symbols
