	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cciss_get_device_descr
_cciss_get_device_descr:                ## @cciss_get_device_descr
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %r12
	movl	%esi, %r14d
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movb	$0, (%rdx)
	movb	$0, (%rcx)
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movb	$0, (%r8)
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$8, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %rbx
	leaq	-56(%rbp), %rsi
	movq	%r13, %rdi
	movl	%r14d, %edx
	callq	_log_unit_to_scsi3addr
	movq	_CISS_INQUIRY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TYPE_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	movq	%r13, %rdi
	movq	%rbx, %rdx
	movl	$8, %ecx
	xorl	%r8d, %r8d
	leaq	-56(%rbp), %r9
	callq	_sendcmd_withirq
	movq	_IO_OK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_3
## %bb.2:
	movq	(%rbx), %rsi
	addq	$32, %rsi
	movq	_VENDOR_LEN@GOTPCREL(%rip), %r14
	movq	(%r14), %rdx
	movq	%r12, %rdi
	callq	_memcpy
	movq	(%r14), %rax
	movb	$0, (%r12,%rax)
	movq	(%rbx), %rsi
	addq	$64, %rsi
	movq	_MODEL_LEN@GOTPCREL(%rip), %r14
	movq	(%r14), %rdx
	movq	%r15, %rdi
	callq	_memcpy
	movq	(%r14), %rax
	movb	$0, (%r15,%rax)
	movq	(%rbx), %rsi
	subq	$-128, %rsi
	movq	_REV_LEN@GOTPCREL(%rip), %r14
	movq	(%r14), %rdx
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	callq	_memcpy
	movq	(%r14), %rax
	movb	$0, (%r15,%rax)
LBB0_3:
	movq	%rbx, %rdi
	callq	_kfree
LBB0_4:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_6
## %bb.5:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_CISS_INQUIRY,4,2               ## @CISS_INQUIRY
	.comm	_TYPE_CMD,4,2                   ## @TYPE_CMD
	.comm	_IO_OK,4,2                      ## @IO_OK
	.comm	_VENDOR_LEN,8,3                 ## @VENDOR_LEN
	.comm	_MODEL_LEN,8,3                  ## @MODEL_LEN
	.comm	_REV_LEN,8,3                    ## @REV_LEN
	.no_dead_strip	_cciss_get_device_descr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cciss_get_device_descr
_cciss_get_device_descr:                ; @cciss_get_device_descr
	.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	x20, x3
	mov	x22, x2
	mov	x24, x1
	mov	x23, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #8]
	strb	wzr, [x2]
	strb	wzr, [x3]
	strb	wzr, [x4]
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w0, #8
	bl	_kzalloc
	cbz	x0, LBB0_4
; %bb.1:
	mov	x21, x0
	mov	x1, sp
	mov	x0, x23
	mov	x2, x24
	bl	_log_unit_to_scsi3addr
Lloh6:
	adrp	x8, _CISS_INQUIRY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CISS_INQUIRY@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _TYPE_CMD@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TYPE_CMD@GOTPAGEOFF]
Lloh11:
	ldr	w6, [x8]
	mov	x5, sp
	mov	x0, x23
	mov	x2, x21
	mov	w3, #8
	mov	w4, #0
	bl	_sendcmd_withirq
Lloh12:
	adrp	x8, _IO_OK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IO_OK@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_3
; %bb.2:
	ldr	x8, [x21]
	add	x1, x8, #32
Lloh15:
	adrp	x23, _VENDOR_LEN@GOTPAGE
Lloh16:
	ldr	x23, [x23, _VENDOR_LEN@GOTPAGEOFF]
	ldr	x2, [x23]
	mov	x0, x22
	bl	_memcpy
	ldr	x8, [x23]
	strb	wzr, [x22, x8]
	ldr	x8, [x21]
	add	x1, x8, #64
Lloh17:
	adrp	x22, _MODEL_LEN@GOTPAGE
Lloh18:
	ldr	x22, [x22, _MODEL_LEN@GOTPAGEOFF]
	ldr	x2, [x22]
	mov	x0, x20
	bl	_memcpy
	ldr	x8, [x22]
	strb	wzr, [x20, x8]
	ldr	x8, [x21]
	add	x1, x8, #128
Lloh19:
	adrp	x20, _REV_LEN@GOTPAGE
Lloh20:
	ldr	x20, [x20, _REV_LEN@GOTPAGEOFF]
	ldr	x2, [x20]
	mov	x0, x19
	bl	_memcpy
	ldr	x8, [x20]
	strb	wzr, [x19, x8]
LBB0_3:
	mov	x0, x21
	bl	_kfree
LBB0_4:
	ldr	x8, [sp, #8]
Lloh21:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh22:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.5:
	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
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_CISS_INQUIRY,4,2               ; @CISS_INQUIRY
	.comm	_TYPE_CMD,4,2                   ; @TYPE_CMD
	.comm	_IO_OK,4,2                      ; @IO_OK
	.comm	_VENDOR_LEN,8,3                 ; @VENDOR_LEN
	.comm	_MODEL_LEN,8,3                  ; @MODEL_LEN
	.comm	_REV_LEN,8,3                    ; @REV_LEN
	.no_dead_strip	_cciss_get_device_descr
.subsections_via_symbols
