	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function InsertInBootDriverList
_InsertInBootDriverList:                ## @InsertInBootDriverList
	.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
	movq	%rsi, %rbx
	movq	%rdi, %r15
	xorl	%edi, %edi
	cmpq	$0, 16(%rsi)
	setne	%dil
	callq	_ASSERT
	xorl	%edi, %edi
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	cmpq	$0, 8(%rbx)
	setne	%dil
	callq	_ASSERT
	movq	(%r15), %rbx
	cmpq	%r15, %rbx
	je	LBB0_8
## %bb.1:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	16(%rax), %r12
	leaq	8(%rax), %r13
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rbx), %rbx
	cmpq	%r15, %rbx
	je	LBB0_8
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	_BOOT_DRIVER_LIST_ENTRY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_Link@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_CONTAINING_RECORD
	movq	%rax, %r14
	cmpq	$0, 16(%rax)
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	16(%r14), %rsi
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_RtlEqualUnicodeString
	testq	%rax, %rax
	jne	LBB0_9
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, 8(%r14)
	je	LBB0_2
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	addq	$8, %r14
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_RtlEqualUnicodeString
	testq	%rax, %rax
	je	LBB0_2
LBB0_9:
	movq	_FALSE@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_8:
	movq	%r15, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_InsertTailList
	movq	_TRUE@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BOOT_DRIVER_LIST_ENTRY,4,2     ## @BOOT_DRIVER_LIST_ENTRY
	.comm	_Link,4,2                       ## @Link
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_FALSE,4,2                      ## @FALSE
	.no_dead_strip	_InsertInBootDriverList
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function InsertInBootDriverList
_InsertInBootDriverList:                ; @InsertInBootDriverList
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x20, x0
	mov	x21, x1
	ldr	x8, [x21, #16]!
	cmp	x8, #0
	cset	w0, ne
	bl	_ASSERT
	mov	x22, x19
	ldr	x8, [x22, #8]!
	cmp	x8, #0
	cset	w0, ne
	bl	_ASSERT
	ldr	x23, [x20]
	cmp	x23, x20
	b.eq	LBB0_7
; %bb.1:
Lloh0:
	adrp	x26, _BOOT_DRIVER_LIST_ENTRY@GOTPAGE
Lloh1:
	ldr	x26, [x26, _BOOT_DRIVER_LIST_ENTRY@GOTPAGEOFF]
Lloh2:
	adrp	x27, _Link@GOTPAGE
Lloh3:
	ldr	x27, [x27, _Link@GOTPAGEOFF]
Lloh4:
	adrp	x28, _TRUE@GOTPAGE
Lloh5:
	ldr	x28, [x28, _TRUE@GOTPAGEOFF]
Lloh6:
	adrp	x25, _FALSE@GOTPAGE
Lloh7:
	ldr	x25, [x25, _FALSE@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x23, [x23]
	cmp	x23, x20
	b.eq	LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x26]
	ldr	w2, [x27]
	mov	x0, x23
	bl	_CONTAINING_RECORD
	mov	x24, x0
	mov	x1, x0
	ldr	x8, [x1, #16]!
	cbz	x8, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w2, [x28]
	mov	x0, x21
	bl	_RtlEqualUnicodeString
	cbnz	x0, LBB0_8
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x24, #8]!
	cbz	x8, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w2, [x28]
	mov	x0, x22
	mov	x1, x24
	bl	_RtlEqualUnicodeString
	cbz	x0, LBB0_2
	b	LBB0_8
LBB0_7:
	mov	x0, x20
	mov	x1, x19
	bl	_InsertTailList
Lloh8:
	adrp	x25, _TRUE@GOTPAGE
Lloh9:
	ldr	x25, [x25, _TRUE@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x25]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_BOOT_DRIVER_LIST_ENTRY,4,2     ; @BOOT_DRIVER_LIST_ENTRY
	.comm	_Link,4,2                       ; @Link
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_FALSE,4,2                      ; @FALSE
	.no_dead_strip	_InsertInBootDriverList
.subsections_via_symbols
