	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ENGINE_ctrl_cmd_string         ## -- Begin function ENGINE_ctrl_cmd_string
	.p2align	4, 0x90
_ENGINE_ctrl_cmd_string:                ## @ENGINE_ctrl_cmd_string
	.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
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movl	%ecx, %r12d
	movq	%rsi, %rcx
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.4:
	movq	%rdi, %rbx
	cmpq	$0, (%rdi)
	je	LBB0_6
## %bb.5:
	movq	%rdx, %r14
	movq	_ENGINE_CTRL_GET_CMD_FROM_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	callq	_ENGINE_ctrl
	testl	%eax, %eax
	jle	LBB0_6
## %bb.9:
	movl	%eax, %r15d
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_ENGINE_cmd_is_executable
	testl	%eax, %eax
	je	LBB0_10
## %bb.11:
	movq	_ENGINE_CTRL_GET_CMD_FLAGS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_ENGINE_ctrl
	testl	%eax, %eax
	js	LBB0_12
## %bb.13:
	movq	_ENGINE_CMD_FLAG_NO_INPUT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_17
## %bb.14:
	testq	%r14, %r14
	je	LBB0_16
## %bb.15:
	movq	_ENGINE_F_ENGINE_CTRL_CMD_STRING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ENGINE_R_COMMAND_TAKES_NO_INPUT@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_2:
	movq	_ENGINE_F_ENGINE_CTRL_CMD_STRING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_PASSED_NULL_PARAMETER@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %esi
	callq	_ENGINEerr
	xorl	%eax, %eax
LBB0_28:
	movzbl	%al, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	testl	%r12d, %r12d
	je	LBB0_8
## %bb.7:
	xorl	%eax, %eax
	callq	_ERR_clear_error
	movb	$1, %al
	jmp	LBB0_28
LBB0_8:
	movq	_ENGINE_F_ENGINE_CTRL_CMD_STRING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ENGINE_R_INVALID_CMD_NAME@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_10:
	movq	_ENGINE_F_ENGINE_CTRL_CMD_STRING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ENGINE_R_CMD_NOT_EXECUTABLE@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_17:
	testq	%r14, %r14
	je	LBB0_18
## %bb.19:
	movq	_ENGINE_CMD_FLAG_STRING@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_21
## %bb.20:
	movq	%rbx, %rdi
	movl	%r15d, %esi
	xorl	%edx, %edx
	movq	%r14, %rcx
	jmp	LBB0_27
LBB0_16:
	movq	%rbx, %rdi
	movl	%r15d, %esi
	xorl	%edx, %edx
LBB0_26:
	xorl	%ecx, %ecx
LBB0_27:
	xorl	%r8d, %r8d
	callq	_ENGINE_ctrl
	testl	%eax, %eax
	setg	%al
	jmp	LBB0_28
LBB0_18:
	movq	_ENGINE_F_ENGINE_CTRL_CMD_STRING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ENGINE_R_COMMAND_TAKES_INPUT@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_21:
	movq	_ENGINE_CMD_FLAG_NUMERIC@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_12
## %bb.22:
	leaq	-40(%rbp), %rsi
	movq	%r14, %rdi
	movl	$10, %edx
	callq	_strtol
	movq	-40(%rbp), %rcx
	cmpq	%r14, %rcx
	je	LBB0_24
## %bb.23:
	cmpb	$0, (%rcx)
	je	LBB0_25
LBB0_24:
	movq	_ENGINE_F_ENGINE_CTRL_CMD_STRING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ENGINE_R_ARGUMENT_IS_NOT_A_NUMBER@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_12:
	movq	_ENGINE_F_ENGINE_CTRL_CMD_STRING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ENGINE_R_INTERNAL_LIST_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_25:
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movq	%rax, %rdx
	jmp	LBB0_26
	.cfi_endproc
                                        ## -- End function
	.comm	_ENGINE_F_ENGINE_CTRL_CMD_STRING,4,2 ## @ENGINE_F_ENGINE_CTRL_CMD_STRING
	.comm	_ERR_R_PASSED_NULL_PARAMETER,4,2 ## @ERR_R_PASSED_NULL_PARAMETER
	.comm	_ENGINE_CTRL_GET_CMD_FROM_NAME,4,2 ## @ENGINE_CTRL_GET_CMD_FROM_NAME
	.comm	_ENGINE_R_INVALID_CMD_NAME,4,2  ## @ENGINE_R_INVALID_CMD_NAME
	.comm	_ENGINE_R_CMD_NOT_EXECUTABLE,4,2 ## @ENGINE_R_CMD_NOT_EXECUTABLE
	.comm	_ENGINE_CTRL_GET_CMD_FLAGS,4,2  ## @ENGINE_CTRL_GET_CMD_FLAGS
	.comm	_ENGINE_R_INTERNAL_LIST_ERROR,4,2 ## @ENGINE_R_INTERNAL_LIST_ERROR
	.comm	_ENGINE_CMD_FLAG_NO_INPUT,4,2   ## @ENGINE_CMD_FLAG_NO_INPUT
	.comm	_ENGINE_R_COMMAND_TAKES_NO_INPUT,4,2 ## @ENGINE_R_COMMAND_TAKES_NO_INPUT
	.comm	_ENGINE_R_COMMAND_TAKES_INPUT,4,2 ## @ENGINE_R_COMMAND_TAKES_INPUT
	.comm	_ENGINE_CMD_FLAG_STRING,4,2     ## @ENGINE_CMD_FLAG_STRING
	.comm	_ENGINE_CMD_FLAG_NUMERIC,4,2    ## @ENGINE_CMD_FLAG_NUMERIC
	.comm	_ENGINE_R_ARGUMENT_IS_NOT_A_NUMBER,4,2 ## @ENGINE_R_ARGUMENT_IS_NOT_A_NUMBER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ENGINE_ctrl_cmd_string         ; -- Begin function ENGINE_ctrl_cmd_string
	.p2align	2
_ENGINE_ctrl_cmd_string:                ; @ENGINE_ctrl_cmd_string
	.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
	cbz	x0, LBB0_9
; %bb.1:
	mov	x22, x3
	mov	x3, x1
	cbz	x1, LBB0_9
; %bb.2:
	mov	x19, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_12
; %bb.3:
	mov	x20, x2
Lloh0:
	adrp	x8, _ENGINE_CTRL_GET_CMD_FROM_NAME@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENGINE_CTRL_GET_CMD_FROM_NAME@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, #0
	mov	x4, #0
	bl	_ENGINE_ctrl
	cmp	w0, #0
	b.le	LBB0_12
; %bb.4:
	mov	x21, x0
	mov	x0, x19
	mov	x1, x21
	bl	_ENGINE_cmd_is_executable
	cbz	w0, LBB0_15
; %bb.5:
Lloh3:
	adrp	x8, _ENGINE_CTRL_GET_CMD_FLAGS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENGINE_CTRL_GET_CMD_FLAGS@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w2, w21
	mov	x0, x19
	mov	x3, #0
	mov	x4, #0
	bl	_ENGINE_ctrl
	tbnz	w0, #31, LBB0_27
; %bb.6:
Lloh6:
	adrp	x8, _ENGINE_CMD_FLAG_NO_INPUT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENGINE_CMD_FLAG_NO_INPUT@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_16
; %bb.7:
	cbz	x20, LBB0_19
; %bb.8:
Lloh9:
	adrp	x8, _ENGINE_F_ENGINE_CTRL_CMD_STRING@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENGINE_F_ENGINE_CTRL_CMD_STRING@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x8, _ENGINE_R_COMMAND_TAKES_NO_INPUT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENGINE_R_COMMAND_TAKES_NO_INPUT@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
Lloh14:
	adrp	x8, _ENGINE_F_ENGINE_CTRL_CMD_STRING@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ENGINE_F_ENGINE_CTRL_CMD_STRING@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x8, _ERR_R_PASSED_NULL_PARAMETER@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ERR_R_PASSED_NULL_PARAMETER@GOTPAGEOFF]
LBB0_10:
	ldr	w1, [x8]
	bl	_ENGINEerr
	mov	w0, #0
LBB0_11:
	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
LBB0_12:
	cbz	w22, LBB0_14
; %bb.13:
	bl	_ERR_clear_error
	mov	w0, #1
	b	LBB0_11
LBB0_14:
Lloh19:
	adrp	x8, _ENGINE_F_ENGINE_CTRL_CMD_STRING@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ENGINE_F_ENGINE_CTRL_CMD_STRING@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
Lloh22:
	adrp	x8, _ENGINE_R_INVALID_CMD_NAME@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ENGINE_R_INVALID_CMD_NAME@GOTPAGEOFF]
	b	LBB0_10
LBB0_15:
Lloh24:
	adrp	x8, _ENGINE_F_ENGINE_CTRL_CMD_STRING@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ENGINE_F_ENGINE_CTRL_CMD_STRING@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
Lloh27:
	adrp	x8, _ENGINE_R_CMD_NOT_EXECUTABLE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ENGINE_R_CMD_NOT_EXECUTABLE@GOTPAGEOFF]
	b	LBB0_10
LBB0_16:
	cbz	x20, LBB0_22
; %bb.17:
Lloh29:
	adrp	x8, _ENGINE_CMD_FLAG_STRING@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ENGINE_CMD_FLAG_STRING@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_23
; %bb.18:
	mov	x0, x19
	mov	x1, x21
	mov	x2, #0
	mov	x3, x20
	b	LBB0_21
LBB0_19:
	mov	x0, x19
	mov	x1, x21
	mov	x2, #0
LBB0_20:
	mov	x3, #0
LBB0_21:
	mov	x4, #0
	bl	_ENGINE_ctrl
	cmp	w0, #0
	cset	w0, gt
	b	LBB0_11
LBB0_22:
Lloh32:
	adrp	x8, _ENGINE_F_ENGINE_CTRL_CMD_STRING@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ENGINE_F_ENGINE_CTRL_CMD_STRING@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
Lloh35:
	adrp	x8, _ENGINE_R_COMMAND_TAKES_INPUT@GOTPAGE
Lloh36:
	ldr	x8, [x8, _ENGINE_R_COMMAND_TAKES_INPUT@GOTPAGEOFF]
	b	LBB0_10
LBB0_23:
Lloh37:
	adrp	x8, _ENGINE_CMD_FLAG_NUMERIC@GOTPAGE
Lloh38:
	ldr	x8, [x8, _ENGINE_CMD_FLAG_NUMERIC@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_27
; %bb.24:
	add	x1, sp, #8
	mov	x0, x20
	mov	w2, #10
	bl	_strtol
	ldr	x8, [sp, #8]
	cmp	x8, x20
	b.eq	LBB0_26
; %bb.25:
	ldrb	w8, [x8]
	cbz	w8, LBB0_28
LBB0_26:
Lloh40:
	adrp	x8, _ENGINE_F_ENGINE_CTRL_CMD_STRING@GOTPAGE
Lloh41:
	ldr	x8, [x8, _ENGINE_F_ENGINE_CTRL_CMD_STRING@GOTPAGEOFF]
Lloh42:
	ldr	w0, [x8]
Lloh43:
	adrp	x8, _ENGINE_R_ARGUMENT_IS_NOT_A_NUMBER@GOTPAGE
Lloh44:
	ldr	x8, [x8, _ENGINE_R_ARGUMENT_IS_NOT_A_NUMBER@GOTPAGEOFF]
	b	LBB0_10
LBB0_27:
Lloh45:
	adrp	x8, _ENGINE_F_ENGINE_CTRL_CMD_STRING@GOTPAGE
Lloh46:
	ldr	x8, [x8, _ENGINE_F_ENGINE_CTRL_CMD_STRING@GOTPAGEOFF]
Lloh47:
	ldr	w0, [x8]
Lloh48:
	adrp	x8, _ENGINE_R_INTERNAL_LIST_ERROR@GOTPAGE
Lloh49:
	ldr	x8, [x8, _ENGINE_R_INTERNAL_LIST_ERROR@GOTPAGEOFF]
	b	LBB0_10
LBB0_28:
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	b	LBB0_20
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.cfi_endproc
                                        ; -- End function
	.comm	_ENGINE_F_ENGINE_CTRL_CMD_STRING,4,2 ; @ENGINE_F_ENGINE_CTRL_CMD_STRING
	.comm	_ERR_R_PASSED_NULL_PARAMETER,4,2 ; @ERR_R_PASSED_NULL_PARAMETER
	.comm	_ENGINE_CTRL_GET_CMD_FROM_NAME,4,2 ; @ENGINE_CTRL_GET_CMD_FROM_NAME
	.comm	_ENGINE_R_INVALID_CMD_NAME,4,2  ; @ENGINE_R_INVALID_CMD_NAME
	.comm	_ENGINE_R_CMD_NOT_EXECUTABLE,4,2 ; @ENGINE_R_CMD_NOT_EXECUTABLE
	.comm	_ENGINE_CTRL_GET_CMD_FLAGS,4,2  ; @ENGINE_CTRL_GET_CMD_FLAGS
	.comm	_ENGINE_R_INTERNAL_LIST_ERROR,4,2 ; @ENGINE_R_INTERNAL_LIST_ERROR
	.comm	_ENGINE_CMD_FLAG_NO_INPUT,4,2   ; @ENGINE_CMD_FLAG_NO_INPUT
	.comm	_ENGINE_R_COMMAND_TAKES_NO_INPUT,4,2 ; @ENGINE_R_COMMAND_TAKES_NO_INPUT
	.comm	_ENGINE_R_COMMAND_TAKES_INPUT,4,2 ; @ENGINE_R_COMMAND_TAKES_INPUT
	.comm	_ENGINE_CMD_FLAG_STRING,4,2     ; @ENGINE_CMD_FLAG_STRING
	.comm	_ENGINE_CMD_FLAG_NUMERIC,4,2    ; @ENGINE_CMD_FLAG_NUMERIC
	.comm	_ENGINE_R_ARGUMENT_IS_NOT_A_NUMBER,4,2 ; @ENGINE_R_ARGUMENT_IS_NOT_A_NUMBER
.subsections_via_symbols
