	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atom_execute_table_locked
_atom_execute_table_locked:             ## @atom_execute_table_locked
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	addl	%esi, %esi
	movslq	%esi, %rcx
	leaq	(%rcx,%rax), %rdi
	addq	$4, %rdi
	callq	_CU16
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movl	%eax, %r14d
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	movslq	%eax, %rbx
	movq	_ATOM_CT_SIZE_PTR@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	%rbx, %rdi
	callq	_CU16
	movl	%eax, %r15d
	movq	_ATOM_CT_WS_PTR@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	%rbx, %rdi
	callq	_CU8
	movl	%eax, %r13d
	movq	_ATOM_CT_PS_PTR@GOTPCREL(%rip), %rax
	addq	(%rax), %rbx
	movq	%rbx, %rdi
	callq	_CU8
	movl	%eax, %r12d
	movq	_ATOM_CT_PS_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %r12d
	movq	_ATOM_CT_CODE_PTR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	addl	%r14d, %ebx
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %esi
	movl	%r15d, -60(%rbp)                ## 4-byte Spill
	movl	%r15d, %edx
	movl	%r13d, %ecx
	movl	%r12d, %r8d
	xorl	%eax, %eax
	callq	_SDEBUG
	leal	3(%r12), %eax
	testl	%r12d, %r12d
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	cmovnsl	%r12d, %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, -96(%rbp)
	sarl	$2, %eax
	movl	%eax, -136(%rbp)
	movl	%r14d, -56(%rbp)                ## 4-byte Spill
	movl	%r14d, -132(%rbp)
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -104(%rbp)
	movl	$0, -128(%rbp)
	movq	$0, -112(%rbp)
	testl	%r13d, %r13d
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	je	LBB0_3
## %bb.4:
	leal	(,%r13,4), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kzalloc
	jmp	LBB0_5
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_18
LBB0_3:
	xorl	%eax, %eax
LBB0_5:
	movq	%rax, -120(%rbp)
	movq	_debug_depth@GOTPCREL(%rip), %rax
	incl	(%rax)
	leaq	-44(%rbp), %r14
	movq	_ATOM_OP_EOT@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	leal	1(%rbx), %eax
	movl	%eax, -44(%rbp)
	movslq	%ebx, %rdi
	callq	_CU8
	movl	%eax, %ebx
	movzbl	%bl, %r12d
	movq	_ATOM_OP_NAMES_CNT@GOTPCREL(%rip), %rax
	movzbl	(%rax), %eax
	movl	%r12d, %r15d
	cmpl	%eax, %r12d
	jae	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	_atom_op_names@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r15,4), %esi
	movl	-44(%rbp), %edx
	decl	%edx
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	movl	-44(%rbp), %edx
	decl	%edx
	leaq	L_.str.2(%rip), %rdi
	movl	%r12d, %esi
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	xorl	%eax, %eax
	callq	_SDEBUG
	cmpl	$0, -128(%rbp)
	jne	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	testl	%r12d, %r12d
	je	LBB0_15
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_ATOM_OP_CNT@GOTPCREL(%rip), %rax
	movzbl	(%rax), %eax
	cmpl	%eax, %r12d
	jae	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_opcode_table@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	shlq	$4, %r15
	movl	(%rax,%r15), %edx
	leaq	-136(%rbp), %rdi
	movq	%r14, %rsi
	callq	*8(%rax,%r15)
	cmpb	%bl, (%r13)
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	-44(%rbp), %ebx
	jmp	LBB0_6
LBB0_15:
	movq	_debug_depth@GOTPCREL(%rip), %rax
	decl	(%rax)
	leaq	L_.str.4(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_SDEBUG
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	testl	%r14d, %r14d
	je	LBB0_18
LBB0_17:
	movq	-120(%rbp), %rdi
	callq	_kfree
LBB0_18:
	movl	%ebx, %eax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movl	-44(%rbp), %r9d
	decl	%r9d
	leaq	L_.str.3(%rip), %rdi
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movl	%r14d, %ecx
	movq	-80(%rbp), %r8                  ## 8-byte Reload
                                        ## kill: def $r8d killed $r8d killed $r8
	callq	_DRM_ERROR
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	testl	%r14d, %r14d
	jne	LBB0_17
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ATOM_CT_SIZE_PTR,8,3           ## @ATOM_CT_SIZE_PTR
	.comm	_ATOM_CT_WS_PTR,8,3             ## @ATOM_CT_WS_PTR
	.comm	_ATOM_CT_PS_PTR,8,3             ## @ATOM_CT_PS_PTR
	.comm	_ATOM_CT_PS_MASK,4,2            ## @ATOM_CT_PS_MASK
	.comm	_ATOM_CT_CODE_PTR,4,2           ## @ATOM_CT_CODE_PTR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	">> execute %04X (len %d, WS %d, PS %d)\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_debug_depth,4,2                ## @debug_depth
	.comm	_ATOM_OP_NAMES_CNT,1,0          ## @ATOM_OP_NAMES_CNT
L_.str.1:                               ## @.str.1
	.asciz	"%s @ 0x%04X\n"

	.comm	_atom_op_names,8,3              ## @atom_op_names
L_.str.2:                               ## @.str.2
	.asciz	"[%d] @ 0x%04X\n"

L_.str.3:                               ## @.str.3
	.asciz	"atombios stuck executing %04X (len %d, WS %d, PS %d) @ 0x%04X\n"

	.comm	_ATOM_OP_CNT,1,0                ## @ATOM_OP_CNT
	.comm	_opcode_table,8,3               ## @opcode_table
	.comm	_ATOM_OP_EOT,1,0                ## @ATOM_OP_EOT
L_.str.4:                               ## @.str.4
	.asciz	"<<\n"

	.no_dead_strip	_atom_execute_table_locked
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atom_execute_table_locked
_atom_execute_table_locked:             ; @atom_execute_table_locked
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x28, x27, [sp, #112]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #128]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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	x23, x2
	mov	x24, x0
	ldr	x8, [x0]
	lsl	w9, w1, #1
	add	x8, x8, w9, sxtw
	add	x0, x8, #4
	bl	_CU16
	cbz	w0, LBB0_3
; %bb.1:
	mov	x20, x0
	sxtw	x19, w20
Lloh0:
	adrp	x8, _ATOM_CT_SIZE_PTR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ATOM_CT_SIZE_PTR@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x0, x8, x19
	bl	_CU16
	mov	x22, x0
Lloh3:
	adrp	x8, _ATOM_CT_WS_PTR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ATOM_CT_WS_PTR@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	add	x0, x8, x19
	bl	_CU8
	mov	x21, x0
Lloh6:
	adrp	x8, _ATOM_CT_PS_PTR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ATOM_CT_PS_PTR@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	add	x0, x8, x19
	bl	_CU8
Lloh9:
	adrp	x8, _ATOM_CT_PS_MASK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ATOM_CT_PS_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ands	w26, w8, w0
Lloh12:
	adrp	x8, _ATOM_CT_CODE_PTR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ATOM_CT_CODE_PTR@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	add	w25, w8, w20
	stp	x21, x26, [sp, #16]
	stp	x20, x22, [sp]
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	add	w8, w26, #3
	csel	w19, w8, w26, lt
	bl	_SDEBUG
	stp	x23, x24, [sp, #88]
	asr	w8, w19, #2
	stp	w8, w20, [sp, #56]
	str	wzr, [sp, #64]
	str	xzr, [sp, #80]
	stp	x22, x21, [sp, #40]             ; 16-byte Folded Spill
	str	x26, [sp, #32]                  ; 8-byte Folded Spill
	cbz	w21, LBB0_4
; %bb.2:
	lsl	w0, w21, #2
Lloh17:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	bl	_kzalloc
	b	LBB0_5
LBB0_3:
Lloh20:
	adrp	x8, _EINVAL@GOTPAGE
Lloh21:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_16
LBB0_4:
	mov	x0, #0
LBB0_5:
Lloh23:
	adrp	x9, _debug_depth@GOTPAGE
Lloh24:
	ldr	x9, [x9, _debug_depth@GOTPAGEOFF]
	str	x0, [sp, #72]
	ldr	w8, [x9]
	add	w8, w8, #1
	str	w8, [x9]
Lloh25:
	adrp	x27, _ATOM_OP_NAMES_CNT@GOTPAGE
Lloh26:
	ldr	x27, [x27, _ATOM_OP_NAMES_CNT@GOTPAGEOFF]
Lloh27:
	adrp	x28, _atom_op_names@GOTPAGE
Lloh28:
	ldr	x28, [x28, _atom_op_names@GOTPAGEOFF]
Lloh29:
	adrp	x23, l_.str.1@PAGE
Lloh30:
	add	x23, x23, l_.str.1@PAGEOFF
Lloh31:
	adrp	x21, _ATOM_OP_CNT@GOTPAGE
Lloh32:
	ldr	x21, [x21, _ATOM_OP_CNT@GOTPAGEOFF]
Lloh33:
	adrp	x26, _opcode_table@GOTPAGE
Lloh34:
	ldr	x26, [x26, _opcode_table@GOTPAGEOFF]
Lloh35:
	adrp	x19, _ATOM_OP_EOT@GOTPAGE
Lloh36:
	ldr	x19, [x19, _ATOM_OP_EOT@GOTPAGEOFF]
Lloh37:
	adrp	x24, l_.str.2@PAGE
Lloh38:
	add	x24, x24, l_.str.2@PAGEOFF
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	w8, w25, #1
	stur	w8, [x29, #-84]
	sxtw	x0, w25
	bl	_CU8
	mov	x25, x0
	and	w22, w0, #0xff
	ldrb	w8, [x27]
	cmp	w22, w8
	b.hs	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x28]
	ldur	w9, [x29, #-84]
	sub	w9, w9, #1
	ldr	w8, [x8, w22, uxtw #2]
	stp	x8, x9, [sp]
	mov	x0, x23
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldur	w8, [x29, #-84]
	sub	w8, w8, #1
	stp	x22, x8, [sp]
	mov	x0, x24
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	bl	_SDEBUG
	ldr	w8, [sp, #64]
	cbnz	w8, LBB0_17
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	cbz	w22, LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	ldrb	w8, [x21]
	cmp	w22, w8
	b.hs	LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x26]
	add	x8, x8, w22, uxtw #4
	ldr	x9, [x8, #8]
	ldr	w2, [x8]
	add	x0, sp, #56
	sub	x1, x29, #84
	blr	x9
	ldrb	w8, [x19]
	cmp	w8, w25, uxtb
	b.eq	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=1
	ldur	w25, [x29, #-84]
	b	LBB0_6
LBB0_14:
Lloh39:
	adrp	x9, _debug_depth@GOTPAGE
Lloh40:
	ldr	x9, [x9, _debug_depth@GOTPAGEOFF]
	ldr	w8, [x9]
	sub	w8, w8, #1
	str	w8, [x9]
Lloh41:
	adrp	x0, l_.str.4@PAGE
Lloh42:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_SDEBUG
	mov	w20, #0
	ldr	x19, [sp, #48]                  ; 8-byte Folded Reload
	cbz	w19, LBB0_16
LBB0_15:
	ldr	x0, [sp, #72]
	bl	_kfree
LBB0_16:
	mov	x0, x20
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
LBB0_17:
	ldur	w8, [x29, #-84]
	sub	w5, w8, #1
Lloh43:
	adrp	x0, l_.str.3@PAGE
Lloh44:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x20
	ldp	x2, x19, [sp, #40]              ; 16-byte Folded Reload
                                        ; kill: def $w2 killed $w2 killed $x2
	mov	x3, x19
	ldr	x4, [sp, #32]                   ; 8-byte Folded Reload
                                        ; kill: def $w4 killed $w4 killed $x4
	bl	_DRM_ERROR
Lloh45:
	adrp	x8, _EINVAL@GOTPAGE
Lloh46:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh47:
	ldr	w8, [x8]
	neg	w20, w8
	cbnz	w19, LBB0_15
	b	LBB0_16
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpAdd	Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ATOM_CT_SIZE_PTR,8,3           ; @ATOM_CT_SIZE_PTR
	.comm	_ATOM_CT_WS_PTR,8,3             ; @ATOM_CT_WS_PTR
	.comm	_ATOM_CT_PS_PTR,8,3             ; @ATOM_CT_PS_PTR
	.comm	_ATOM_CT_PS_MASK,4,2            ; @ATOM_CT_PS_MASK
	.comm	_ATOM_CT_CODE_PTR,4,2           ; @ATOM_CT_CODE_PTR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	">> execute %04X (len %d, WS %d, PS %d)\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_debug_depth,4,2                ; @debug_depth
	.comm	_ATOM_OP_NAMES_CNT,1,0          ; @ATOM_OP_NAMES_CNT
l_.str.1:                               ; @.str.1
	.asciz	"%s @ 0x%04X\n"

	.comm	_atom_op_names,8,3              ; @atom_op_names
l_.str.2:                               ; @.str.2
	.asciz	"[%d] @ 0x%04X\n"

l_.str.3:                               ; @.str.3
	.asciz	"atombios stuck executing %04X (len %d, WS %d, PS %d) @ 0x%04X\n"

	.comm	_ATOM_OP_CNT,1,0                ; @ATOM_OP_CNT
	.comm	_opcode_table,8,3               ; @opcode_table
	.comm	_ATOM_OP_EOT,1,0                ; @ATOM_OP_EOT
l_.str.4:                               ; @.str.4
	.asciz	"<<\n"

	.no_dead_strip	_atom_execute_table_locked
.subsections_via_symbols
