	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ENGINE_ctrl_cmd                ## -- Begin function ENGINE_ctrl_cmd
	.p2align	4, 0x90
_ENGINE_ctrl_cmd:                       ## @ENGINE_ctrl_cmd
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movq	%rcx, %r15
	movq	%rsi, %rcx
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.4:
	movl	%r9d, %r13d
	movq	%rdi, %rbx
	cmpq	$0, (%rdi)
	je	LBB0_6
## %bb.5:
	movq	%r8, %r14
	movq	%rdx, %r12
	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:
	movq	%rbx, %rdi
	movl	%eax, %esi
	movq	%r12, %rdx
	movq	%r15, %rcx
	movq	%r14, %r8
	callq	_ENGINE_ctrl
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	setg	%al
	jmp	LBB0_10
LBB0_2:
	movq	_ENGINE_F_ENGINE_CTRL_CMD@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
	jmp	LBB0_10
LBB0_6:
	testl	%r13d, %r13d
	je	LBB0_8
## %bb.7:
	xorl	%eax, %eax
	callq	_ERR_clear_error
	movl	$1, %eax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	_ENGINE_F_ENGINE_CTRL_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ENGINE_R_INVALID_CMD_NAME@GOTPCREL(%rip), %rax
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_ENGINE_F_ENGINE_CTRL_CMD,4,2   ## @ENGINE_F_ENGINE_CTRL_CMD
	.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
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ENGINE_ctrl_cmd                ; -- Begin function ENGINE_ctrl_cmd
	.p2align	2
_ENGINE_ctrl_cmd:                       ; @ENGINE_ctrl_cmd
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	cbz	x0, LBB0_5
; %bb.1:
	mov	x20, x3
	mov	x3, x1
	cbz	x1, LBB0_5
; %bb.2:
	mov	x22, x5
	mov	x23, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_7
; %bb.3:
	mov	x19, x4
	mov	x21, 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, x23
	mov	x2, #0
	mov	x4, #0
	bl	_ENGINE_ctrl
	mov	x1, x0
	cmp	w1, #0
	b.le	LBB0_7
; %bb.4:
	mov	x0, x23
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	x2, x21
	mov	x3, x20
	mov	x4, x19
	bl	_ENGINE_ctrl
	cmp	x0, #0
	cset	w0, gt
	b	LBB0_9
LBB0_5:
Lloh3:
	adrp	x8, _ENGINE_F_ENGINE_CTRL_CMD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENGINE_F_ENGINE_CTRL_CMD@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _ERR_R_PASSED_NULL_PARAMETER@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERR_R_PASSED_NULL_PARAMETER@GOTPAGEOFF]
LBB0_6:
	ldr	w1, [x8]
	bl	_ENGINEerr
	mov	w0, #0
	b	LBB0_9
LBB0_7:
	cbz	w22, LBB0_10
; %bb.8:
	bl	_ERR_clear_error
	mov	w0, #1
LBB0_9:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_10:
Lloh8:
	adrp	x8, _ENGINE_F_ENGINE_CTRL_CMD@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENGINE_F_ENGINE_CTRL_CMD@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x8, _ENGINE_R_INVALID_CMD_NAME@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENGINE_R_INVALID_CMD_NAME@GOTPAGEOFF]
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_ENGINE_F_ENGINE_CTRL_CMD,4,2   ; @ENGINE_F_ENGINE_CTRL_CMD
	.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
.subsections_via_symbols
