	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mp_min                         ## -- Begin function mp_min
	.p2align	4, 0x90
_mp_min:                                ## @mp_min
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_stdin@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-40(%rbp), %rsi
	callq	_fgetln
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_MPERR
LBB0_2:
	movq	-40(%rbp), %r12
	leaq	1(%r12), %rdi
	callq	_malloc
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rdi
	callq	_MPERR
	movq	-40(%rbp), %r12
LBB0_4:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_memcpy
	movq	-40(%rbp), %rax
	movb	$0, (%rbx,%rax)
	leaq	L_.str(%rip), %r15
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	__dtom
	movq	%rax, %r12
	movq	%r15, %rdi
	movq	%rax, %rsi
	movq	%r14, %rdx
	callq	__movem
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	__mfree
	movq	%rbx, %rdi
	callq	_free
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_stdin,4,2                      ## @stdin
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"min"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mp_min                         ; -- Begin function mp_min
	.p2align	2
_mp_min:                                ; @mp_min
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [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 w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
Lloh0:
	adrp	x8, _stdin@GOTPAGE
Lloh1:
	ldr	x8, [x8, _stdin@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, sp, #8
	bl	_fgetln
	mov	x21, x0
	cbnz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_MPERR
LBB0_2:
	ldr	x22, [sp, #8]
	add	x0, x22, #1
	bl	_malloc
	mov	x20, x0
	cbnz	x0, LBB0_4
; %bb.3:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_MPERR
	ldr	x22, [sp, #8]
LBB0_4:
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	bl	_memcpy
	ldr	x8, [sp, #8]
	strb	wzr, [x20, x8]
Lloh7:
	adrp	x21, l_.str@PAGE
Lloh8:
	add	x21, x21, l_.str@PAGEOFF
	mov	x0, x21
	mov	x1, x20
	bl	__dtom
	mov	x22, x0
	mov	x0, x21
	mov	x1, x22
	mov	x2, x19
	bl	__movem
	mov	x0, x21
	mov	x1, x22
	bl	__mfree
	mov	x0, x20
	bl	_free
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_stdin,4,2                      ; @stdin
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"min"

.subsections_via_symbols
