	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ismt_submit_desc
_ismt_submit_desc:                      ## @ismt_submit_desc
	.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
	movq	%rdi, %rbx
	callq	_ismt_desc_dump
	movq	%rbx, %rdi
	callq	_ismt_gen_reg_dump
	movq	%rbx, %rdi
	callq	_ismt_mstr_reg_dump
	movl	(%rbx), %eax
	incl	%eax
	movq	_ISMT_DESC_ENTRIES@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	movl	%edx, %r14d
	shll	$16, %r14d
	movq	_ISMT_MSTR_MCTRL@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	addq	8(%rbx), %rdi
	callq	_readl
	movq	_ISMT_MCTRL_FMHP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	notl	%edi
	andl	%eax, %edi
	orl	%r14d, %edi
	movq	(%r15), %rsi
	addq	8(%rbx), %rsi
	callq	_writel
	movq	(%r15), %rdi
	addq	8(%rbx), %rdi
	callq	_readl
	movq	_ISMT_MCTRL_SS@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	(%r15), %rsi
	addq	8(%rbx), %rsi
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_writel                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ISMT_DESC_ENTRIES,4,2          ## @ISMT_DESC_ENTRIES
	.comm	_ISMT_MSTR_MCTRL,8,3            ## @ISMT_MSTR_MCTRL
	.comm	_ISMT_MCTRL_FMHP,4,2            ## @ISMT_MCTRL_FMHP
	.comm	_ISMT_MCTRL_SS,4,2              ## @ISMT_MCTRL_SS
	.no_dead_strip	_ismt_submit_desc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ismt_submit_desc
_ismt_submit_desc:                      ; @ismt_submit_desc
	.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
	mov	x19, x0
	bl	_ismt_desc_dump
	mov	x0, x19
	bl	_ismt_gen_reg_dump
	mov	x0, x19
	bl	_ismt_mstr_reg_dump
	ldr	w8, [x19]
	add	w8, w8, #1
Lloh0:
	adrp	x9, _ISMT_DESC_ENTRIES@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ISMT_DESC_ENTRIES@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	sdiv	w10, w8, w9
	msub	w20, w10, w9, w8
	ldr	x8, [x19, #8]
Lloh3:
	adrp	x21, _ISMT_MSTR_MCTRL@GOTPAGE
Lloh4:
	ldr	x21, [x21, _ISMT_MSTR_MCTRL@GOTPAGEOFF]
	ldr	x9, [x21]
	add	x0, x9, x8
	bl	_readl
Lloh5:
	adrp	x8, _ISMT_MCTRL_FMHP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ISMT_MCTRL_FMHP@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	bic	w8, w0, w8
	orr	w0, w8, w20, lsl #16
	ldr	x8, [x19, #8]
	ldr	x9, [x21]
	add	x1, x9, x8
	bl	_writel
	ldr	x8, [x19, #8]
	ldr	x9, [x21]
	add	x0, x9, x8
	bl	_readl
Lloh8:
	adrp	x8, _ISMT_MCTRL_SS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ISMT_MCTRL_SS@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	orr	w0, w8, w0
	ldr	x8, [x19, #8]
	ldr	x9, [x21]
	add	x1, x9, x8
	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
	b	_writel
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ISMT_DESC_ENTRIES,4,2          ; @ISMT_DESC_ENTRIES
	.comm	_ISMT_MSTR_MCTRL,8,3            ; @ISMT_MSTR_MCTRL
	.comm	_ISMT_MCTRL_FMHP,4,2            ; @ISMT_MCTRL_FMHP
	.comm	_ISMT_MCTRL_SS,4,2              ; @ISMT_MCTRL_SS
	.no_dead_strip	_ismt_submit_desc
.subsections_via_symbols
