	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __be_cmd_modify_eqd
___be_cmd_modify_eqd:                   ## @__be_cmd_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, %r14
	movq	%rdi, %rbx
	callq	_mutex_lock
	movq	%rbx, %rdi
	callq	_wrb_from_mccq
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r13
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_embedded_payload
	movq	%rax, %r15
	leaq	16(%rax), %rdi
	movq	_CMD_SUBSYSTEM_COMMON@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_OPCODE_COMMON_MODIFY_EQ_DELAY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$24, %ecx
	movq	%r13, %r8
	xorl	%r9d, %r9d
	callq	_be_wrb_cmd_hdr_prepare
	movl	%r12d, %edi
	callq	_cpu_to_le32
	movq	%rax, 8(%r15)
	testl	%r12d, %r12d
	jle	LBB0_5
## %bb.3:
	movl	%r12d, %eax
	addq	$4, %r14
	shlq	$3, %rax
	leaq	(%rax,%rax,2), %r12
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	-4(%r14), %edi
	callq	_cpu_to_le32
	movq	(%r15), %rcx
	movq	%rax, 16(%rcx,%rbx)
	movq	$0, 8(%rcx,%rbx)
	movl	(%r14), %edi
	callq	_cpu_to_le32
	movq	(%r15), %rcx
	movq	%rax, (%rcx,%rbx)
	addq	$24, %rbx
	addq	$8, %r14
	cmpq	%rbx, %r12
	jne	LBB0_4
LBB0_5:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_be_mcc_notify
	movl	%eax, %r14d
	jmp	LBB0_6
LBB0_1:
	movq	_EBUSY@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_6:
	movq	%rbx, %rdi
	callq	_mutex_unlock
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_CMD_SUBSYSTEM_COMMON,4,2       ## @CMD_SUBSYSTEM_COMMON
	.comm	_OPCODE_COMMON_MODIFY_EQ_DELAY,4,2 ## @OPCODE_COMMON_MODIFY_EQ_DELAY
	.no_dead_strip	___be_cmd_modify_eqd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __be_cmd_modify_eqd
___be_cmd_modify_eqd:                   ; @__be_cmd_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	x21, x2
	mov	x22, x1
	mov	x19, x0
	bl	_mutex_lock
	mov	x0, x19
	bl	_wrb_from_mccq
	cbz	x0, LBB0_5
; %bb.1:
	mov	x23, x0
	bl	_embedded_payload
	mov	x20, x0
	add	x0, x0, #16
Lloh0:
	adrp	x8, _CMD_SUBSYSTEM_COMMON@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CMD_SUBSYSTEM_COMMON@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _OPCODE_COMMON_MODIFY_EQ_DELAY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OPCODE_COMMON_MODIFY_EQ_DELAY@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	w24, #24
	mov	w3, #24
	mov	x4, x23
	mov	x5, #0
	bl	_be_wrb_cmd_hdr_prepare
	mov	x0, x21
	bl	_cpu_to_le32
	str	x0, [x20, #8]
	cmp	w21, #1
	b.lt	LBB0_4
; %bb.2:
	mov	x23, #0
	add	x22, x22, #4
	umull	x21, w21, w24
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w0, [x22, #-4]
	bl	_cpu_to_le32
	ldr	x8, [x20]
	add	x8, x8, x23
	stp	xzr, x0, [x8, #8]
	ldr	w0, [x22], #8
	bl	_cpu_to_le32
	ldr	x8, [x20]
	str	x0, [x8, x23]
	add	x23, x23, #24
	cmp	x21, x23
	b.ne	LBB0_3
LBB0_4:
	mov	x0, x19
	bl	_be_mcc_notify
	mov	x20, x0
	b	LBB0_6
LBB0_5:
Lloh6:
	adrp	x8, _EBUSY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_6:
	mov	x0, x19
	bl	_mutex_unlock
	mov	x0, x20
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_CMD_SUBSYSTEM_COMMON,4,2       ; @CMD_SUBSYSTEM_COMMON
	.comm	_OPCODE_COMMON_MODIFY_EQ_DELAY,4,2 ; @OPCODE_COMMON_MODIFY_EQ_DELAY
	.no_dead_strip	___be_cmd_modify_eqd
.subsections_via_symbols
