	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lancer_cmd_read_object         ## -- Begin function lancer_cmd_read_object
	.p2align	4, 0x90
_lancer_cmd_read_object:                ## @lancer_cmd_read_object
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %rbx
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, %r13d
	movq	%rsi, %r14
	movq	%rdi, %r12
	callq	_spin_lock_bh
	movq	%r12, %rdi
	callq	_wrb_from_mccq
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_embedded_payload
	movq	%r14, %rbx
	movq	%rax, %r14
	leaq	56(%rax), %rdi
	movq	_CMD_SUBSYSTEM_COMMON@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_OPCODE_COMMON_READ_OBJECT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$64, %ecx
	movq	%r15, %r8
	xorl	%r9d, %r9d
	callq	_be_wrb_cmd_hdr_prepare
	movl	%r13d, %edi
	callq	_cpu_to_le32
	movq	%rax, 48(%r14)
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_cpu_to_le32
	movq	%rax, 40(%r14)
	movl	32(%r14), %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_strcpy
	movl	$1, %edi
	callq	_cpu_to_le32
	movq	%rax, 24(%r14)
	movl	%r13d, %edi
	callq	_cpu_to_le32
	movq	%rax, 16(%r14)
	movl	(%rbx), %edi
	callq	_cpu_to_le32
	movq	%rax, 8(%r14)
	movl	(%rbx), %edi
	callq	_upper_32_bits
	movl	%eax, %edi
	callq	_cpu_to_le32
	movq	%rax, (%r14)
	movq	%r12, %rdi
	callq	_be_mcc_notify_wait
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_embedded_payload
	movq	%rax, %r14
	testl	%ebx, %ebx
	je	LBB0_3
## %bb.4:
	movq	24(%rbp), %rax
	movl	(%r14), %ecx
	movl	%ecx, (%rax)
                                        ## kill: def $ebx killed $ebx def $rbx
	jmp	LBB0_5
LBB0_1:
	movq	_EBUSY@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_5
LBB0_3:
	movq	16(%rbp), %rbx
	movl	8(%r14), %edi
	callq	_le32_to_cpu
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	movl	4(%r14), %edi
	callq	_le32_to_cpu
	movl	%eax, (%rbx)
	xorl	%ebx, %ebx
LBB0_5:
	movq	%r12, %rdi
	callq	_spin_unlock_bh
	movl	%ebx, %eax
	addq	$24, %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_READ_OBJECT,4,2  ## @OPCODE_COMMON_READ_OBJECT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lancer_cmd_read_object         ; -- Begin function lancer_cmd_read_object
	.p2align	2
_lancer_cmd_read_object:                ; @lancer_cmd_read_object
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x22, x7
	mov	x20, x6
	mov	x21, x5
	mov	x27, x4
	mov	x28, x3
	mov	x26, x2
	mov	x24, x1
	mov	x19, x0
	bl	_spin_lock_bh
	mov	x0, x19
	bl	_wrb_from_mccq
	cbz	x0, LBB0_3
; %bb.1:
	mov	x23, x0
	bl	_embedded_payload
	mov	x25, x0
	add	x0, x0, #56
Lloh0:
	adrp	x8, _CMD_SUBSYSTEM_COMMON@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CMD_SUBSYSTEM_COMMON@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _OPCODE_COMMON_READ_OBJECT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OPCODE_COMMON_READ_OBJECT@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	w3, #64
	mov	x4, x23
	mov	x5, #0
	bl	_be_wrb_cmd_hdr_prepare
	mov	x0, x26
	bl	_cpu_to_le32
	str	x0, [x25, #48]
	mov	x0, x28
	bl	_cpu_to_le32
	str	x0, [x25, #40]
	ldr	w0, [x25, #32]
	mov	x1, x27
	bl	_strcpy
	mov	w0, #1
	bl	_cpu_to_le32
	str	x0, [x25, #24]
	mov	x0, x26
	bl	_cpu_to_le32
	str	x0, [x25, #16]
	ldr	w0, [x24]
	bl	_cpu_to_le32
	str	x0, [x25, #8]
	ldr	w0, [x24]
	bl	_upper_32_bits
	bl	_cpu_to_le32
	str	x0, [x25]
	mov	x0, x19
	bl	_be_mcc_notify_wait
	mov	x24, x0
	mov	x0, x23
	bl	_embedded_payload
	mov	x23, x0
	cbz	w24, LBB0_4
; %bb.2:
	ldr	w8, [x23]
	str	w8, [x22]
	b	LBB0_5
LBB0_3:
Lloh6:
	adrp	x8, _EBUSY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w24, w8
	b	LBB0_5
LBB0_4:
	ldr	w0, [x23, #8]
	bl	_le32_to_cpu
	str	w0, [x21]
	ldr	w0, [x23, #4]
	bl	_le32_to_cpu
	str	w0, [x20]
LBB0_5:
	mov	x0, x19
	bl	_spin_unlock_bh
	mov	x0, x24
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 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_READ_OBJECT,4,2  ; @OPCODE_COMMON_READ_OBJECT
.subsections_via_symbols
