	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mps_set_slot_status            ## -- Begin function mps_set_slot_status
	.p2align	4, 0x90
_mps_set_slot_status:                   ## @mps_set_slot_status
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movl	%edi, %r12d
	leaq	-88(%rbp), %r13
	movq	%r13, %rdi
	movl	$40, %esi
	callq	_bzero
	movq	_MPI2_FUNCTION_SCSI_ENCLOSURE_PROCESSOR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	movq	_MPI2_SEP_REQ_ACTION_WRITE_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)
	movq	_MPI2_SEP_REQ_FLAGS_ENCLOSURE_SLOT_ADDRESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	movq	%rbx, -72(%rbp)
	movq	%r15, -80(%rbp)
	movl	%r14d, -88(%rbp)
	xorl	%ebx, %ebx
	leaq	-48(%rbp), %rcx
	movl	%r12d, %edi
	movq	%r13, %rsi
	movl	$40, %edx
	movl	$4, %r8d
	xorl	%r9d, %r9d
	pushq	$30
	pushq	$0
	pushq	$0
	pushq	$0
	callq	_mps_pass_command
	addq	$32, %rsp
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_errno@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	movl	-48(%rbp), %edi
	callq	_IOC_STATUS_SUCCESS
	testl	%eax, %eax
	jne	LBB0_5
## %bb.3:
	movq	_EIO@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %ebx
LBB0_5:
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MPI2_FUNCTION_SCSI_ENCLOSURE_PROCESSOR,4,2 ## @MPI2_FUNCTION_SCSI_ENCLOSURE_PROCESSOR
	.comm	_MPI2_SEP_REQ_ACTION_WRITE_STATUS,4,2 ## @MPI2_SEP_REQ_ACTION_WRITE_STATUS
	.comm	_MPI2_SEP_REQ_FLAGS_ENCLOSURE_SLOT_ADDRESS,4,2 ## @MPI2_SEP_REQ_FLAGS_ENCLOSURE_SLOT_ADDRESS
	.comm	_errno,4,2                      ## @errno
	.comm	_EIO,4,2                        ## @EIO
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mps_set_slot_status            ; -- Begin function mps_set_slot_status
	.p2align	2
_mps_set_slot_status:                   ; @mps_set_slot_status
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	add	x0, sp, #24
	mov	w1, #40
	bl	_bzero
Lloh0:
	adrp	x8, _MPI2_FUNCTION_SCSI_ENCLOSURE_PROCESSOR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MPI2_FUNCTION_SCSI_ENCLOSURE_PROCESSOR@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #56]
Lloh3:
	adrp	x8, _MPI2_SEP_REQ_ACTION_WRITE_STATUS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MPI2_SEP_REQ_ACTION_WRITE_STATUS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _MPI2_SEP_REQ_FLAGS_ENCLOSURE_SLOT_ADDRESS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MPI2_SEP_REQ_FLAGS_ENCLOSURE_SLOT_ADDRESS@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #48]
	stp	x20, x21, [sp, #32]
	str	w19, [sp, #24]
	mov	x8, #128849018880
	str	x8, [sp]
	add	x1, sp, #24
	add	x3, sp, #16
	mov	x0, x22
	mov	w2, #40
	mov	w4, #4
	mov	x5, #0
	mov	w6, #0
	mov	x7, #0
	bl	_mps_pass_command
	cbz	x0, LBB0_2
; %bb.1:
Lloh9:
	adrp	x8, _errno@GOTPAGE
Lloh10:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	b	LBB0_3
LBB0_2:
	ldr	w0, [sp, #16]
	bl	_IOC_STATUS_SUCCESS
Lloh12:
	adrp	x8, _EIO@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cmp	w0, #0
	csel	w0, w8, wzr, eq
LBB0_3:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_MPI2_FUNCTION_SCSI_ENCLOSURE_PROCESSOR,4,2 ; @MPI2_FUNCTION_SCSI_ENCLOSURE_PROCESSOR
	.comm	_MPI2_SEP_REQ_ACTION_WRITE_STATUS,4,2 ; @MPI2_SEP_REQ_ACTION_WRITE_STATUS
	.comm	_MPI2_SEP_REQ_FLAGS_ENCLOSURE_SLOT_ADDRESS,4,2 ; @MPI2_SEP_REQ_FLAGS_ENCLOSURE_SLOT_ADDRESS
	.comm	_errno,4,2                      ; @errno
	.comm	_EIO,4,2                        ; @EIO
.subsections_via_symbols
