	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mptspi_slave_destroy
_mptspi_slave_destroy:                  ## @mptspi_slave_destroy
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_scsi_target
	movq	(%rax), %rcx
	cmpl	$1, (%rcx)
	jne	LBB0_3
## %bb.1:
	movq	(%rbx), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_3
## %bb.2:
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -32(%rbp)
	movq	$0, -16(%rbp)
	leaq	-32(%rbp), %rsi
	movq	%rax, %rdi
	callq	_mptspi_write_spi_device_pg1
LBB0_3:
	movq	%rbx, %rdi
	callq	_mptscsih_slave_destroy
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mptspi_slave_destroy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mptspi_slave_destroy
_mptspi_slave_destroy:                  ; @mptspi_slave_destroy
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x0
	bl	_scsi_target
	ldr	x8, [x0]
	ldr	w8, [x8]
	cmp	w8, #1
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [x19]
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.2:
	stp	xzr, xzr, [sp, #8]
	str	xzr, [sp, #24]
	add	x1, sp, #8
	bl	_mptspi_write_spi_device_pg1
LBB0_3:
	mov	x0, x19
	bl	_mptscsih_slave_destroy
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mptspi_slave_destroy
.subsections_via_symbols
