	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ocrdma_mbx_modify_eqd
_ocrdma_mbx_modify_eqd:                 ## @ocrdma_mbx_modify_eqd
	.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
	movl	%edx, %r12d
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_OCRDMA_CMD_MODIFY_EQ_DELAY@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movl	$24, %esi
	callq	_ocrdma_init_emb_mqe
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %r15
	movq	%rax, %rdi
	addq	$16, %rdi
	movl	(%r13), %esi
	movq	_OCRDMA_SUBSYS_COMMON@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$24, %ecx
	callq	_ocrdma_init_mch
	movl	%r12d, (%r15)
	testl	%r12d, %r12d
	jle	LBB0_6
## %bb.4:
	movq	8(%r15), %rax
	movl	%r12d, %ecx
	addq	$16, %rax
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%rbx,%rdx,8), %esi
	movl	%esi, (%rax)
	movq	$0, -8(%rax)
	movl	(%rbx,%rdx,8), %esi
	movl	%esi, %edi
	shll	$6, %edi
	addl	%esi, %edi
	movslq	%edi, %rsi
	imulq	$1374389535, %rsi, %rsi         ## imm = 0x51EB851F
	movq	%rsi, %rdi
	shrq	$63, %rdi
	sarq	$37, %rsi
	addl	%edi, %esi
	movl	%esi, -16(%rax)
	incq	%rdx
	addq	$24, %rax
	cmpq	%rdx, %rcx
	jne	LBB0_5
LBB0_6:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_ocrdma_mbx_cmd
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_kfree
	movl	%ebx, %eax
	jmp	LBB0_2
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OCRDMA_CMD_MODIFY_EQ_DELAY,4,2 ## @OCRDMA_CMD_MODIFY_EQ_DELAY
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_OCRDMA_SUBSYS_COMMON,4,2       ## @OCRDMA_SUBSYS_COMMON
	.no_dead_strip	_ocrdma_mbx_modify_eqd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ocrdma_mbx_modify_eqd
_ocrdma_mbx_modify_eqd:                 ; @ocrdma_mbx_modify_eqd
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x23, _OCRDMA_CMD_MODIFY_EQ_DELAY@GOTPAGE
Lloh1:
	ldr	x23, [x23, _OCRDMA_CMD_MODIFY_EQ_DELAY@GOTPAGEOFF]
	ldr	w0, [x23]
	mov	w1, #24
	bl	_ocrdma_init_emb_mqe
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x0
	add	x0, x0, #16
	ldr	w1, [x23]
Lloh2:
	adrp	x8, _OCRDMA_SUBSYS_COMMON@GOTPAGE
Lloh3:
	ldr	x8, [x8, _OCRDMA_SUBSYS_COMMON@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	w3, #24
	bl	_ocrdma_init_mch
	str	w22, [x20]
	cmp	w22, #1
	b.lt	LBB0_10
; %bb.2:
	ldr	x8, [x20, #8]
	mov	w9, w22
	cmp	w22, #1
	b.ne	LBB0_5
; %bb.3:
	mov	x10, #0
	b	LBB0_8
LBB0_4:
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_11
LBB0_5:
	and	x10, x9, #0xfffffffe
	add	x11, x8, #24
	add	x12, x21, #8
	mov	w13, #34079
	movk	w13, #20971, lsl #16
	mov	x14, x10
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldp	w16, w15, [x12, #-8]
	stur	w15, [x11, #-8]
	ldp	w17, w15, [x12], #16
	str	w15, [x11, #16]
	stur	xzr, [x11, #-16]
	str	xzr, [x11, #8]
	add	w15, w16, w16, lsl #6
	add	w16, w17, w17, lsl #6
	smull	x15, w15, w13
	lsr	x17, x15, #63
	asr	x15, x15, #37
	add	w15, w15, w17
	smull	x16, w16, w13
	lsr	x17, x16, #63
	asr	x16, x16, #37
	add	w16, w16, w17
	stur	w15, [x11, #-24]
	str	w16, [x11], #48
	subs	x14, x14, #2
	b.ne	LBB0_6
; %bb.7:
	cmp	x10, x9
	b.eq	LBB0_10
LBB0_8:
	sub	x9, x9, x10
	mov	w11, #24
	madd	x8, x10, x11, x8
	add	x8, x8, #16
	add	x10, x21, x10, lsl #3
	add	x10, x10, #4
	mov	w11, #34079
	movk	w11, #20971, lsl #16
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x10]
	str	w12, [x8]
	stur	xzr, [x8, #-8]
	ldur	w12, [x10, #-4]
	add	w12, w12, w12, lsl #6
	smull	x12, w12, w11
	lsr	x13, x12, #63
	asr	x12, x12, #37
	add	w12, w12, w13
	stur	w12, [x8, #-16]
	add	x8, x8, #24
	add	x10, x10, #8
	subs	x9, x9, #1
	b.ne	LBB0_9
LBB0_10:
	mov	x0, x19
	mov	x1, x20
	bl	_ocrdma_mbx_cmd
	mov	x19, x0
	mov	x0, x20
	bl	_kfree
	mov	x0, x19
LBB0_11:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_OCRDMA_CMD_MODIFY_EQ_DELAY,4,2 ; @OCRDMA_CMD_MODIFY_EQ_DELAY
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_OCRDMA_SUBSYS_COMMON,4,2       ; @OCRDMA_SUBSYS_COMMON
	.no_dead_strip	_ocrdma_mbx_modify_eqd
.subsections_via_symbols
