	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __system
___system:                              ## @__system
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %rbx
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rdi
	movq	%rdx, %rsi
	xorl	%eax, %eax
	callq	_lprintf
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	movl	$7, %edx
	callq	_strncmp
	testl	%eax, %eax
	jne	LBB0_5
## %bb.3:
	movq	_desc@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_bochs_cmd_stop
	jmp	LBB0_4
LBB0_1:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_lprintf
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_lprintf
	movq	_desc@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	incq	%rbx
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	_bochs_send_cmd
LBB0_4:
	movq	_desc@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %esi
	leaq	L_.str.4(%rip), %rdi
	callq	*(%r14)
LBB0_5:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"system command (%s)\n"

L_.str.1:                               ## @.str.1
	.asciz	"help"

L_.str.2:                               ## @.str.2
	.asciz	"Usage: =!cmd args\n =!:<bochscmd>      - Send a bochs command.\n =!dobreak          - pause bochs.\n"

L_.str.3:                               ## @.str.3
	.asciz	"io_system: Enviando commando bochs\n"

	.comm	_desc,8,3                       ## @desc
L_.str.4:                               ## @.str.4
	.asciz	"%s\n"

L_.str.5:                               ## @.str.5
	.asciz	"dobreak"

	.no_dead_strip	___system
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __system
___system:                              ; @__system
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x20, x2
	mov	x19, x0
	str	x2, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_lprintf
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	w0, LBB0_3
; %bb.1:
Lloh4:
	adrp	x1, l_.str.5@PAGE
Lloh5:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	mov	w2, #7
	bl	_strncmp
	cbnz	w0, LBB0_5
; %bb.2:
Lloh6:
	adrp	x8, _desc@GOTPAGE
Lloh7:
	ldr	x8, [x8, _desc@GOTPAGEOFF]
Lloh8:
	ldr	x0, [x8]
	bl	_bochs_cmd_stop
	b	LBB0_4
LBB0_3:
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_lprintf
Lloh11:
	adrp	x0, l_.str.3@PAGE
Lloh12:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_lprintf
Lloh13:
	adrp	x8, _desc@GOTPAGE
Lloh14:
	ldr	x8, [x8, _desc@GOTPAGEOFF]
Lloh15:
	ldr	x0, [x8]
	add	x1, x20, #1
	mov	w2, #1
	bl	_bochs_send_cmd
LBB0_4:
	ldr	x8, [x19]
Lloh16:
	adrp	x9, _desc@GOTPAGE
Lloh17:
	ldr	x9, [x9, _desc@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	ldr	w1, [x9]
Lloh19:
	adrp	x0, l_.str.4@PAGE
Lloh20:
	add	x0, x0, l_.str.4@PAGEOFF
	blr	x8
LBB0_5:
	mov	x0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"system command (%s)\n"

l_.str.1:                               ; @.str.1
	.asciz	"help"

l_.str.2:                               ; @.str.2
	.asciz	"Usage: =!cmd args\n =!:<bochscmd>      - Send a bochs command.\n =!dobreak          - pause bochs.\n"

l_.str.3:                               ; @.str.3
	.asciz	"io_system: Enviando commando bochs\n"

	.comm	_desc,8,3                       ; @desc
l_.str.4:                               ; @.str.4
	.asciz	"%s\n"

l_.str.5:                               ; @.str.5
	.asciz	"dobreak"

	.no_dead_strip	___system
.subsections_via_symbols
