	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sbp2_send_orb
_sbp2_send_orb:                         ## @sbp2_send_orb
	.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
                                        ## kill: def $r8d killed $r8d def $r8
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	movl	%ecx, %r15d
	movl	%edx, %r12d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	4(%rsi), %edi
	callq	_target_device
	movq	%rax, %r13
	movq	$0, 8(%rbx)
	movl	28(%rbx), %edi
	callq	_cpu_to_be32
	movl	%eax, (%rbx)
	movq	8(%r13), %rdi
	callq	_spin_lock_irqsave
	leaq	24(%rbx), %rdi
	movq	%r14, %rsi
	callq	_list_add_tail
	movq	8(%r13), %rdi
	callq	_spin_unlock_irqrestore
	leaq	20(%rbx), %r14
	movq	%r14, %rdi
	callq	_kref_get
	movq	%r14, %rdi
	callq	_kref_get
	movq	8(%r13), %rdi
	leaq	16(%rbx), %rsi
	movq	_TCODE_WRITE_BLOCK_REQUEST@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r13), %r9d
	movq	_complete_transaction@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subq	$8, %rsp
	movl	%r12d, %ecx
	movl	%r15d, %r8d
	pushq	%rbx
	pushq	%rax
	pushq	$16
	pushq	%rbx
	pushq	-48(%rbp)                       ## 8-byte Folded Reload
	callq	_fw_send_request
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TCODE_WRITE_BLOCK_REQUEST,4,2  ## @TCODE_WRITE_BLOCK_REQUEST
	.comm	_complete_transaction,4,2       ## @complete_transaction
	.no_dead_strip	_sbp2_send_orb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sbp2_send_orb
_sbp2_send_orb:                         ; @sbp2_send_orb
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x20, x0
	ldr	w0, [x1, #4]
	bl	_target_device
	mov	x24, x0
	str	xzr, [x20, #8]
	ldr	w0, [x20, #28]
	bl	_cpu_to_be32
	str	w0, [x20]
	ldr	x0, [x24, #8]
	bl	_spin_lock_irqsave
	add	x0, x20, #24
	mov	x1, x23
	bl	_list_add_tail
	ldr	x0, [x24, #8]
	bl	_spin_unlock_irqrestore
	add	x23, x20, #20
	mov	x0, x23
	bl	_kref_get
	mov	x0, x23
	bl	_kref_get
	ldr	x0, [x24, #8]
Lloh0:
	adrp	x8, _TCODE_WRITE_BLOCK_REQUEST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TCODE_WRITE_BLOCK_REQUEST@GOTPAGEOFF]
	add	x1, x20, #16
Lloh2:
	ldr	w2, [x8]
	ldr	w5, [x24]
Lloh3:
	adrp	x8, _complete_transaction@GOTPAGE
Lloh4:
	ldr	x8, [x8, _complete_transaction@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	x20, [sp, #8]
	mov	w9, #16
	stp	w9, w8, [sp]
	mov	x3, x22
	mov	x4, x21
	mov	x6, x19
	mov	x7, x20
	bl	_fw_send_request
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TCODE_WRITE_BLOCK_REQUEST,4,2  ; @TCODE_WRITE_BLOCK_REQUEST
	.comm	_complete_transaction,4,2       ; @complete_transaction
	.no_dead_strip	_sbp2_send_orb
.subsections_via_symbols
