	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sbp2_status_to_sense_data
_sbp2_status_to_sense_data:             ## @sbp2_status_to_sense_data
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	testb	$-128, %al
	jne	LBB0_2
## %bb.1:
	shrl	$6, %eax
	andl	$3, %eax
	movl	$128, %ecx
	andl	4(%rdi), %ecx
	addl	%ecx, %eax
	addl	$112, %eax
	movl	%eax, (%rsi)
	movl	$0, 4(%rsi)
	movl	4(%rdi), %eax
	movl	%eax, %ecx
	andl	$112, %ecx
	andl	$15, %eax
	leal	(%rax,%rcx,2), %eax
	movl	%eax, 8(%rsi)
	movl	16(%rdi), %eax
	movl	%eax, 12(%rsi)
	movl	20(%rdi), %eax
	movl	%eax, 16(%rsi)
	movl	24(%rdi), %eax
	movl	%eax, 20(%rsi)
	movl	28(%rdi), %eax
	movl	%eax, 24(%rsi)
	movl	$10, 28(%rsi)
	movl	32(%rdi), %eax
	movl	%eax, 32(%rsi)
	movl	36(%rdi), %eax
	movl	%eax, 36(%rsi)
	movl	40(%rdi), %eax
	movl	%eax, 40(%rsi)
	movl	44(%rdi), %eax
	movl	%eax, 44(%rsi)
	movl	8(%rdi), %eax
	movl	%eax, 48(%rsi)
	movl	12(%rdi), %eax
	movl	%eax, 52(%rsi)
	movl	48(%rdi), %eax
	movl	%eax, 56(%rsi)
	movl	52(%rdi), %eax
	movl	%eax, 60(%rsi)
LBB0_2:
	movq	_DID_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shll	$16, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DID_ERROR,4,2                  ## @DID_ERROR
	.comm	_DID_OK,4,2                     ## @DID_OK
	.no_dead_strip	_sbp2_status_to_sense_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sbp2_status_to_sense_data
_sbp2_status_to_sense_data:             ; @sbp2_status_to_sense_data
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	tbnz	w8, #7, LBB0_2
; %bb.1:
	ldr	w9, [x0, #4]
	and	w9, w9, #0x80
	bfxil	w9, w8, #6, #2
	orr	w8, w9, #0x70
	stp	w8, wzr, [x1]
	ldr	w8, [x0, #4]
	lsr	w9, w8, #4
	and	w8, w8, #0xf
	bfi	w8, w9, #5, #3
	str	w8, [x1, #8]
	ldr	w8, [x0, #16]
	str	w8, [x1, #12]
	ldr	w8, [x0, #20]
	str	w8, [x1, #16]
	ldr	w8, [x0, #24]
	str	w8, [x1, #20]
	ldr	w8, [x0, #28]
	mov	w9, #10
	stp	w8, w9, [x1, #24]
	ldr	w8, [x0, #32]
	str	w8, [x1, #32]
	ldr	w8, [x0, #36]
	str	w8, [x1, #36]
	ldr	w8, [x0, #40]
	str	w8, [x1, #40]
	ldr	w8, [x0, #44]
	str	w8, [x1, #44]
	ldr	w8, [x0, #8]
	str	w8, [x1, #48]
	ldr	w8, [x0, #12]
	str	w8, [x1, #52]
	ldr	w8, [x0, #48]
	str	w8, [x1, #56]
	ldr	w8, [x0, #52]
	str	w8, [x1, #60]
LBB0_2:
Lloh0:
	adrp	x8, _DID_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DID_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	lsl	w0, w8, #16
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DID_ERROR,4,2                  ; @DID_ERROR
	.comm	_DID_OK,4,2                     ; @DID_OK
	.no_dead_strip	_sbp2_status_to_sense_data
.subsections_via_symbols
