	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function engine_list_add
_engine_list_add:                       ## @engine_list_add
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.1:
	movq	%rdi, %r15
	movq	_engine_list_head@GOTPCREL(%rip), %r14
	movq	(%r14), %rbx
	testq	%rbx, %rbx
	je	LBB0_9
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	24(%rbx), %edi
	movl	24(%r15), %esi
	callq	_strcmp
	movq	(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	testq	%rax, %rax
	jne	LBB0_2
LBB0_4:
	testq	%rax, %rax
	je	LBB0_5
## %bb.8:
	cmpq	$0, (%r14)
	je	LBB0_9
## %bb.12:
	movq	_engine_list_tail@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_10
## %bb.13:
	cmpq	$0, (%rcx)
	jne	LBB0_10
## %bb.14:
	movq	%r15, (%rcx)
	movq	(%rax), %rax
	movq	%rax, 16(%r15)
	jmp	LBB0_15
LBB0_6:
	movq	_ENGINE_F_ENGINE_LIST_ADD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_PASSED_NULL_PARAMETER@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_9:
	movq	_engine_list_tail@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_11
LBB0_10:
	movq	_ENGINE_F_ENGINE_LIST_ADD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ENGINE_R_INTERNAL_LIST_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movq	_ENGINE_F_ENGINE_LIST_ADD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ENGINE_R_CONFLICTING_ENGINE_ID@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %esi
	callq	_ENGINEerr
	xorl	%r14d, %r14d
LBB0_16:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	%r15, (%r14)
	movq	$0, 16(%r15)
	movq	_engine_list_cleanup@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_engine_cleanup_add_last
LBB0_15:
	incl	8(%r15)
	movl	$1, %r14d
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_engine_ref_debug
	movq	_engine_list_tail@GOTPCREL(%rip), %rax
	movq	%r15, (%rax)
	movq	$0, (%r15)
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_ENGINE_F_ENGINE_LIST_ADD,4,2   ## @ENGINE_F_ENGINE_LIST_ADD
	.comm	_ERR_R_PASSED_NULL_PARAMETER,4,2 ## @ERR_R_PASSED_NULL_PARAMETER
	.comm	_engine_list_head,8,3           ## @engine_list_head
	.comm	_ENGINE_R_CONFLICTING_ENGINE_ID,4,2 ## @ENGINE_R_CONFLICTING_ENGINE_ID
	.comm	_engine_list_tail,8,3           ## @engine_list_tail
	.comm	_ENGINE_R_INTERNAL_LIST_ERROR,4,2 ## @ENGINE_R_INTERNAL_LIST_ERROR
	.comm	_engine_list_cleanup,4,2        ## @engine_list_cleanup
	.no_dead_strip	_engine_list_add
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function engine_list_add
_engine_list_add:                       ; @engine_list_add
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	cbz	x0, LBB0_8
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x20, _engine_list_head@GOTPAGE
Lloh1:
	ldr	x20, [x20, _engine_list_head@GOTPAGEOFF]
	ldr	x21, [x20]
	cbz	x21, LBB0_9
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21, #24]
	ldr	w1, [x19, #24]
	bl	_strcmp
	ldr	x21, [x21]
	cmp	x21, #0
	ccmp	x0, #0, #4, ne
	b.ne	LBB0_2
; %bb.3:
	cbz	x0, LBB0_11
; %bb.4:
	ldr	x8, [x20]
	cbz	x8, LBB0_9
; %bb.5:
Lloh2:
	adrp	x8, _engine_list_tail@GOTPAGE
Lloh3:
	ldr	x8, [x8, _engine_list_tail@GOTPAGEOFF]
	ldr	x9, [x8]
	cbz	x9, LBB0_10
; %bb.6:
	ldr	x10, [x9]
	cbnz	x10, LBB0_10
; %bb.7:
	str	x19, [x9]
	ldr	x8, [x8]
	str	x8, [x19, #16]
	b	LBB0_15
LBB0_8:
Lloh4:
	adrp	x8, _ENGINE_F_ENGINE_LIST_ADD@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ENGINE_F_ENGINE_LIST_ADD@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
Lloh7:
	adrp	x8, _ERR_R_PASSED_NULL_PARAMETER@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ERR_R_PASSED_NULL_PARAMETER@GOTPAGEOFF]
	b	LBB0_12
LBB0_9:
Lloh9:
	adrp	x8, _engine_list_tail@GOTPAGE
Lloh10:
	ldr	x8, [x8, _engine_list_tail@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cbz	x8, LBB0_14
LBB0_10:
Lloh12:
	adrp	x8, _ENGINE_F_ENGINE_LIST_ADD@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENGINE_F_ENGINE_LIST_ADD@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x8, _ENGINE_R_INTERNAL_LIST_ERROR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ENGINE_R_INTERNAL_LIST_ERROR@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:
Lloh17:
	adrp	x8, _ENGINE_F_ENGINE_LIST_ADD@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ENGINE_F_ENGINE_LIST_ADD@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
Lloh20:
	adrp	x8, _ENGINE_R_CONFLICTING_ENGINE_ID@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ENGINE_R_CONFLICTING_ENGINE_ID@GOTPAGEOFF]
LBB0_12:
	ldr	w1, [x8]
	bl	_ENGINEerr
	mov	w20, #0
LBB0_13:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_14:
	str	x19, [x20]
	str	xzr, [x19, #16]
Lloh22:
	adrp	x8, _engine_list_cleanup@GOTPAGE
Lloh23:
	ldr	x8, [x8, _engine_list_cleanup@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	bl	_engine_cleanup_add_last
LBB0_15:
	ldr	w8, [x19, #8]
	add	w8, w8, #1
	str	w8, [x19, #8]
	mov	w20, #1
	mov	x0, x19
	mov	w1, #0
	mov	w2, #1
	bl	_engine_ref_debug
Lloh25:
	adrp	x8, _engine_list_tail@GOTPAGE
Lloh26:
	ldr	x8, [x8, _engine_list_tail@GOTPAGEOFF]
Lloh27:
	str	x19, [x8]
	str	xzr, [x19]
	b	LBB0_13
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotStr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_ENGINE_F_ENGINE_LIST_ADD,4,2   ; @ENGINE_F_ENGINE_LIST_ADD
	.comm	_ERR_R_PASSED_NULL_PARAMETER,4,2 ; @ERR_R_PASSED_NULL_PARAMETER
	.comm	_engine_list_head,8,3           ; @engine_list_head
	.comm	_ENGINE_R_CONFLICTING_ENGINE_ID,4,2 ; @ENGINE_R_CONFLICTING_ENGINE_ID
	.comm	_engine_list_tail,8,3           ; @engine_list_tail
	.comm	_ENGINE_R_INTERNAL_LIST_ERROR,4,2 ; @ENGINE_R_INTERNAL_LIST_ERROR
	.comm	_engine_list_cleanup,4,2        ; @engine_list_cleanup
	.no_dead_strip	_engine_list_add
.subsections_via_symbols
