	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cciss_show_lunid
_cciss_show_lunid:                      ## @cciss_show_lunid
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	callq	_to_drv
	movq	%rax, %r15
	movl	8(%rax), %edi
	callq	_to_hba
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_spin_lock_irqsave
	cmpq	$0, 8(%rbx)
	je	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
	movq	_EBUSY@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_6
LBB0_3:
	cmpl	$0, 4(%r15)
	je	LBB0_4
## %bb.5:
	movl	(%r15), %esi
	leaq	-40(%rbp), %rdi
	movl	$8, %edx
	callq	_memcpy
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
	movzbl	-40(%rbp), %ecx
	movzbl	-39(%rbp), %r8d
	movzbl	-38(%rbp), %r9d
	movzbl	-37(%rbp), %r10d
	movzbl	-36(%rbp), %r11d
	movzbl	-35(%rbp), %r15d
	movzbl	-34(%rbp), %ebx
	movzbl	-33(%rbp), %eax
	subq	$8, %rsp
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	movl	$20, %esi
	pushq	%rax
	pushq	%rbx
	pushq	%r15
	pushq	%r11
	pushq	%r10
	callq	_snprintf
	addq	$48, %rsp
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-32(%rbp), %rcx
	jne	LBB0_8
## %bb.7:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
	movq	_ENOTTY@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_ENOTTY,4,2                     ## @ENOTTY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"0x%02x%02x%02x%02x%02x%02x%02x%02x\n"

	.no_dead_strip	_cciss_show_lunid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cciss_show_lunid
_cciss_show_lunid:                      ; @cciss_show_lunid
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x2
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	bl	_to_drv
	mov	x21, x0
	ldr	w0, [x0, #8]
	bl	_to_hba
	mov	x20, x0
	bl	_spin_lock_irqsave
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_3
; %bb.1:
	mov	x0, x20
	bl	_spin_unlock_irqrestore
Lloh3:
	adrp	x8, _EBUSY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
LBB0_2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_5
LBB0_3:
	ldr	w8, [x21, #4]
	cbz	w8, LBB0_7
; %bb.4:
	ldr	w1, [x21]
	add	x0, sp, #16
	mov	w2, #8
	bl	_memcpy
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	ldrb	w3, [sp, #16]
	ldrb	w4, [sp, #17]
	ldrb	w5, [sp, #18]
	ldrb	w6, [sp, #19]
	ldrb	w7, [sp, #20]
	ldurh	w8, [sp, #21]
	ldrb	w9, [sp, #23]
	strb	w9, [sp, #2]
	strh	w8, [sp]
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	mov	w1, #20
	bl	_snprintf
LBB0_5:
	ldr	x8, [sp, #24]
Lloh7:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh8:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.6:
	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
	add	sp, sp, #80
	ret
LBB0_7:
	mov	x0, x20
	bl	_spin_unlock_irqrestore
Lloh10:
	adrp	x8, _ENOTTY@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOTTY@GOTPAGEOFF]
	b	LBB0_2
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_ENOTTY,4,2                     ; @ENOTTY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"0x%02x%02x%02x%02x%02x%02x%02x%02x\n"

	.no_dead_strip	_cciss_show_lunid
.subsections_via_symbols
