	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_backend_ctx_devices_kernel_loops ## -- Begin function backend_ctx_devices_kernel_loops
	.p2align	4, 0x90
_backend_ctx_devices_kernel_loops:      ## @backend_ctx_devices_kernel_loops
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	24(%rdi), %rbx
	cmpl	$0, (%rbx)
	je	LBB0_20
## %bb.1:
	cmpl	$0, 4(%rbx)
	jle	LBB0_20
## %bb.2:
	movq	56(%rdi), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	48(%rdi), %rsi
	movq	40(%rdi), %r9
	movq	32(%rdi), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	16(%rdi), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %r15
	movq	8(%rdi), %r11
	movl	$32, %r14d
	xorl	%r12d, %r12d
	movq	_ATTACK_EXEC_INSIDE_KERNEL@GOTPCREL(%rip), %rdx
	movq	_ATTACK_KERN_STRAIGHT@GOTPCREL(%rip), %r10
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%r12
	movslq	4(%rbx), %rax
	addq	$40, %r14
	cmpq	%rax, %r12
	jge	LBB0_20
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %r13
	cmpl	$1, -32(%r13,%r14)
	je	LBB0_19
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$1, -28(%r13,%r14)
	je	LBB0_19
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-16(%r13,%r14), %rax
	movq	(%r13,%r14), %rcx
	movq	%rax, -24(%r13,%r14)
	movq	%rcx, -8(%r13,%r14)
	cmpq	%rcx, %rax
	jge	LBB0_19
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rsi), %rax
	cmpq	(%rdx), %rax
	jne	LBB0_15
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, %eax
	cmpl	$1, (%r11)
	je	LBB0_16
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r15), %rcx
	cmpq	(%r10), %rcx
	jne	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r11, -48(%rbp)                 ## 8-byte Spill
	movq	_KERNEL_RULES@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	jmp	LBB0_10
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r9), %rax
	movl	(%rax), %eax
	jmp	LBB0_16
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_ATTACK_KERN_COMBI@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r11, -48(%rbp)                 ## 8-byte Spill
	movq	_KERNEL_COMBS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_10
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	movq	_ATTACK_KERN_BF@GOTPCREL(%rip), %rdi
	cmpq	(%rdi), %rcx
	jne	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r11, -48(%rbp)                 ## 8-byte Spill
	movq	_KERNEL_BFS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	-72(%rbp), %rax                 ## 8-byte Reload
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	(%rax), %esi
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	callq	_MIN
	movq	_ATTACK_KERN_STRAIGHT@GOTPCREL(%rip), %r10
	movq	_ATTACK_EXEC_INSIDE_KERNEL@GOTPCREL(%rip), %rdx
	movq	-48(%rbp), %r11                 ## 8-byte Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	-56(%rbp), %r9                  ## 8-byte Reload
LBB0_16:                                ##   in Loop: Header=BB0_3 Depth=1
	cltq
	cmpq	%rax, -24(%r13,%r14)
	jg	LBB0_19
## %bb.17:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpq	%rax, -8(%r13,%r14)
	jl	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, -8(%r13,%r14)
	jmp	LBB0_19
LBB0_20:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ATTACK_EXEC_INSIDE_KERNEL,8,3  ## @ATTACK_EXEC_INSIDE_KERNEL
	.comm	_ATTACK_KERN_STRAIGHT,8,3       ## @ATTACK_KERN_STRAIGHT
	.comm	_KERNEL_RULES,4,2               ## @KERNEL_RULES
	.comm	_ATTACK_KERN_COMBI,8,3          ## @ATTACK_KERN_COMBI
	.comm	_KERNEL_COMBS,4,2               ## @KERNEL_COMBS
	.comm	_ATTACK_KERN_BF,8,3             ## @ATTACK_KERN_BF
	.comm	_KERNEL_BFS,4,2                 ## @KERNEL_BFS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_backend_ctx_devices_kernel_loops ; -- Begin function backend_ctx_devices_kernel_loops
	.p2align	2
_backend_ctx_devices_kernel_loops:      ; @backend_ctx_devices_kernel_loops
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	ldr	x19, [x0, #24]
	ldr	w8, [x19]
	cbz	w8, LBB0_22
; %bb.1:
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_22
; %bb.2:
	mov	x20, #0
	mov	x21, #0
	ldp	x23, x9, [x0, #48]
	ldp	x8, x24, [x0, #32]
	stp	x8, x9, [sp, #8]                ; 16-byte Folded Spill
	ldp	x27, x8, [x0, #8]
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
	ldr	x28, [x0]
Lloh0:
	adrp	x25, _ATTACK_EXEC_INSIDE_KERNEL@GOTPAGE
Lloh1:
	ldr	x25, [x25, _ATTACK_EXEC_INSIDE_KERNEL@GOTPAGEOFF]
Lloh2:
	adrp	x26, _ATTACK_KERN_STRAIGHT@GOTPAGE
Lloh3:
	ldr	x26, [x26, _ATTACK_KERN_STRAIGHT@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x21, #1
	ldrsw	x8, [x19, #4]
	add	x20, x20, #40
	cmp	x21, x8
	b.ge	LBB0_22
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	w9, [x8, x20]
	cmp	w9, #1
	b.eq	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x22, x8, x20
	ldr	w8, [x22, #4]
	cmp	w8, #1
	b.eq	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x22, #16]
	str	x8, [x22, #8]
	ldr	x9, [x22, #32]
	str	x9, [x22, #24]
	cmp	x8, x9
	b.ge	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x23]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x27]
	cmp	w8, #1
	b.ne	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #1
	b	LBB0_18
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x24]
	ldr	w0, [x8]
	b	LBB0_18
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x28]
	ldr	x9, [x26]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh4:
	adrp	x8, _KERNEL_RULES@GOTPAGE
Lloh5:
	ldr	x8, [x8, _KERNEL_RULES@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	b	LBB0_17
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh7:
	adrp	x9, _ATTACK_KERN_COMBI@GOTPAGE
Lloh8:
	ldr	x9, [x9, _ATTACK_KERN_COMBI@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh10:
	adrp	x8, _KERNEL_COMBS@GOTPAGE
Lloh11:
	ldr	x8, [x8, _KERNEL_COMBS@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	b	LBB0_17
LBB0_15:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh13:
	adrp	x9, _ATTACK_KERN_BF@GOTPAGE
Lloh14:
	ldr	x9, [x9, _ATTACK_KERN_BF@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_21
; %bb.16:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh16:
	adrp	x8, _KERNEL_BFS@GOTPAGE
Lloh17:
	ldr	x8, [x8, _KERNEL_BFS@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
LBB0_17:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w1, [x8]
	bl	_MIN
                                        ; kill: def $w0 killed $w0 def $x0
LBB0_18:                                ;   in Loop: Header=BB0_4 Depth=1
	sxtw	x8, w0
	ldr	x9, [x22, #8]
	cmp	x9, x8
	b.gt	LBB0_3
; %bb.19:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x22, #24]
	cmp	x9, x8
	b.lt	LBB0_3
; %bb.20:                               ;   in Loop: Header=BB0_4 Depth=1
	str	x8, [x22, #24]
	b	LBB0_3
LBB0_21:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #0
	b	LBB0_18
LBB0_22:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_ATTACK_EXEC_INSIDE_KERNEL,8,3  ; @ATTACK_EXEC_INSIDE_KERNEL
	.comm	_ATTACK_KERN_STRAIGHT,8,3       ; @ATTACK_KERN_STRAIGHT
	.comm	_KERNEL_RULES,4,2               ; @KERNEL_RULES
	.comm	_ATTACK_KERN_COMBI,8,3          ; @ATTACK_KERN_COMBI
	.comm	_KERNEL_COMBS,4,2               ; @KERNEL_COMBS
	.comm	_ATTACK_KERN_BF,8,3             ; @ATTACK_KERN_BF
	.comm	_KERNEL_BFS,4,2                 ; @KERNEL_BFS
.subsections_via_symbols
