	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd_mvinchstr                  ## -- Begin function cmd_mvinchstr
	.p2align	4, 0x90
_cmd_mvinchstr:                         ## @cmd_mvinchstr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$1048, %rsp                     ## imm = 0x418
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	movl	$2, %esi
	callq	_check_arg_count
	cmpl	$1, %eax
	je	LBB0_5
## %bb.1:
	movq	(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	leaq	-1048(%rbp), %rdx
	callq	_sscanf
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	8(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	leaq	-1044(%rbp), %rdx
	callq	_sscanf
	testq	%rax, %rax
	je	LBB0_2
## %bb.4:
	movl	$2, %edi
	callq	_report_count
	movl	-1048(%rbp), %edi
	movl	-1044(%rbp), %esi
	leaq	-1040(%rbp), %rbx
	movq	%rbx, %rdx
	callq	_mvinchstr
	movl	%eax, %edi
	callq	_report_return
	movq	%rbx, %rdi
	callq	_report_nstr
	jmp	LBB0_5
LBB0_2:
	movl	$1, %edi
	callq	_report_count
	leaq	L_.str.1(%rip), %rdi
	callq	_report_error
LBB0_5:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-16(%rbp), %rax
	jne	LBB0_7
## %bb.6:
	addq	$1048, %rsp                     ## imm = 0x418
	popq	%rbx
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d"

L_.str.1:                               ## @.str.1
	.asciz	"BAD ARGUMENT"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd_mvinchstr                  ; -- Begin function cmd_mvinchstr
	.p2align	2
_cmd_mvinchstr:                         ; @cmd_mvinchstr
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	sub	sp, sp, #1040
	mov	x19, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
	mov	w1, #2
	bl	_check_arg_count
	cmp	w0, #1
	b.eq	LBB0_5
; %bb.1:
	ldr	x0, [x19]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #4
	bl	_sscanf
	cbz	x0, LBB0_4
; %bb.2:
	ldr	x0, [x19, #8]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, sp
	bl	_sscanf
	cbz	x0, LBB0_4
; %bb.3:
	mov	w0, #2
	bl	_report_count
	ldp	w1, w0, [sp]
	add	x2, sp, #8
	bl	_mvinchstr
	bl	_report_return
	add	x0, sp, #8
	bl	_report_nstr
	b	LBB0_5
LBB0_4:
	mov	w0, #1
	bl	_report_count
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_report_error
LBB0_5:
	ldur	x8, [x29, #-24]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	add	sp, sp, #1040
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d"

l_.str.1:                               ; @.str.1
	.asciz	"BAD ARGUMENT"

.subsections_via_symbols
