	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cciss_add_disk
_cciss_add_disk:                        ## @cciss_add_disk
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_do_cciss_request@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	36(%r14), %rsi
	callq	_blk_init_queue
	movq	%rax, 8(%rbx)
	movl	$-1, %r15d
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movl	44(%rbx), %edi
	movl	(%r14), %edx
	leaq	L_.str(%rip), %rsi
	movl	%r12d, %ecx
	callq	_sprintf
	movl	32(%r14), %eax
	movl	%eax, 40(%rbx)
	movq	_NWD_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	%r12d, %eax
	shll	%cl, %eax
	movl	%eax, (%rbx)
	movq	_cciss_fops@GOTPCREL(%rip), %rax
	movq	%rax, 32(%rbx)
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_cciss_create_ld_sysfs_entry
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	8(%rbx), %rdi
	callq	_blk_cleanup_queue
	movq	$0, 8(%rbx)
	jmp	LBB0_4
LBB0_2:
	movq	8(%r14), %rax
	movslq	%r12d, %r12
	movq	(%rax,%r12,8), %rcx
	movq	%rcx, 24(%rbx)
	movq	(%rax,%r12,8), %rax
	addq	$12, %rax
	movq	%rax, 16(%rbx)
	movq	8(%rbx), %rdi
	movq	24(%r14), %rax
	movl	(%rax), %esi
	callq	_blk_queue_bounce_limit
	movq	8(%rbx), %rdi
	movl	20(%r14), %esi
	callq	_blk_queue_max_segments
	movq	8(%rbx), %rdi
	movl	16(%r14), %esi
	callq	_blk_queue_max_hw_sectors
	movq	8(%rbx), %rdi
	movq	_cciss_softirq_done@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_blk_queue_softirq_done
	movq	8(%rbx), %rdi
	movq	%r14, (%rdi)
	movq	8(%r14), %rax
	movq	(%rax,%r12,8), %rax
	movl	8(%rax), %esi
	callq	_blk_queue_logical_block_size
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_wmb
	movq	8(%rbx), %rax
	movq	8(%r14), %rcx
	movq	(%rcx,%r12,8), %rcx
	movq	%rax, (%rcx)
	movq	%rbx, %rdi
	callq	_add_disk
LBB0_4:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_do_cciss_request,4,2           ## @do_cciss_request
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cciss/c%dd%d"

	.comm	_NWD_SHIFT,4,2                  ## @NWD_SHIFT
	.comm	_cciss_fops,4,2                 ## @cciss_fops
	.comm	_cciss_softirq_done,4,2         ## @cciss_softirq_done
	.no_dead_strip	_cciss_add_disk
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cciss_add_disk
_cciss_add_disk:                        ; @cciss_add_disk
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x21, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _do_cciss_request@GOTPAGE
Lloh1:
	ldr	x8, [x8, _do_cciss_request@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x20, #36
	bl	_blk_init_queue
	str	x0, [x19, #8]
	cbz	x0, LBB0_3
; %bb.1:
	ldr	w0, [x19, #44]
	ldr	w2, [x20]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x3, x21
	bl	_sprintf
	ldr	w8, [x20, #32]
	str	w8, [x19, #40]
Lloh5:
	adrp	x8, _NWD_SHIFT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _NWD_SHIFT@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	lsl	w8, w21, w8
	str	w8, [x19]
Lloh8:
	adrp	x8, _cciss_fops@GOTPAGE
Lloh9:
	ldr	x8, [x8, _cciss_fops@GOTPAGEOFF]
	str	x8, [x19, #32]
	mov	x0, x20
	mov	x1, x21
	bl	_cciss_create_ld_sysfs_entry
	cbz	x0, LBB0_4
; %bb.2:
	ldr	x0, [x19, #8]
	bl	_blk_cleanup_queue
	str	xzr, [x19, #8]
LBB0_3:
	mov	w0, #-1
	b	LBB0_5
LBB0_4:
	ldr	x8, [x20, #8]
	sbfiz	x21, x21, #3, #32
	ldr	x9, [x8, x21]
	str	x9, [x19, #24]
	ldr	x8, [x8, x21]
	add	x8, x8, #12
	str	x8, [x19, #16]
	ldr	x0, [x19, #8]
	ldr	x8, [x20, #24]
	ldr	w1, [x8]
	bl	_blk_queue_bounce_limit
	ldr	x0, [x19, #8]
	ldr	w1, [x20, #20]
	bl	_blk_queue_max_segments
	ldr	x0, [x19, #8]
	ldr	w1, [x20, #16]
	bl	_blk_queue_max_hw_sectors
	ldr	x0, [x19, #8]
Lloh10:
	adrp	x8, _cciss_softirq_done@GOTPAGE
Lloh11:
	ldr	x8, [x8, _cciss_softirq_done@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	bl	_blk_queue_softirq_done
	ldr	x0, [x19, #8]
	str	x20, [x0]
	ldr	x8, [x20, #8]
	ldr	x8, [x8, x21]
	ldr	w1, [x8, #8]
	bl	_blk_queue_logical_block_size
	bl	_wmb
	ldr	x8, [x19, #8]
	ldr	x9, [x20, #8]
	ldr	x9, [x9, x21]
	str	x8, [x9]
	mov	x0, x19
	bl	_add_disk
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_do_cciss_request,4,2           ; @do_cciss_request
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cciss/c%dd%d"

	.comm	_NWD_SHIFT,4,2                  ; @NWD_SHIFT
	.comm	_cciss_fops,4,2                 ; @cciss_fops
	.comm	_cciss_softirq_done,4,2         ; @cciss_softirq_done
	.no_dead_strip	_cciss_add_disk
.subsections_via_symbols
