	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atapi_send_cdb
_atapi_send_cdb:                        ## @atapi_send_cdb
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rdi
	callq	_DPRINTK
	movq	8(%rbx), %rax
	xorl	%edi, %edi
	cmpl	$12, (%rax)
	setl	%dil
	callq	_WARN_ON_ONCE
	movq	(%r14), %rax
	movq	8(%rbx), %rdi
	movl	16(%rbx), %esi
	movl	(%rdi), %edx
	movl	$1, %ecx
	callq	*8(%rax)
	movq	%r14, %rdi
	callq	_ata_sff_sync
	movl	(%rbx), %eax
	cmpl	$130, %eax
	je	LBB0_7
## %bb.1:
	cmpl	$129, %eax
	je	LBB0_6
## %bb.2:
	cmpl	$128, %eax
	jne	LBB0_5
## %bb.3:
	movq	_HSM_ST@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_7:
	movq	_HSM_ST_LAST@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r14)
	movq	(%r14), %rax
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmpq	*(%rax)                         ## TAILCALL
LBB0_6:
	movq	_HSM_ST_LAST@GOTPCREL(%rip), %rax
LBB0_4:
	movq	(%rax), %rax
	movq	%rax, 8(%r14)
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"send cdb\n"

	.comm	_HSM_ST,8,3                     ## @HSM_ST
	.comm	_HSM_ST_LAST,8,3                ## @HSM_ST_LAST
	.no_dead_strip	_atapi_send_cdb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atapi_send_cdb
_atapi_send_cdb:                        ; @atapi_send_cdb
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DPRINTK
	ldr	x8, [x20, #8]
	ldr	w8, [x8]
	cmp	w8, #12
	cset	w0, lt
	bl	_WARN_ON_ONCE
	ldr	x8, [x19]
	ldr	x8, [x8, #8]
	ldr	x0, [x20, #8]
	ldr	w1, [x20, #16]
	ldr	w2, [x0]
	mov	w3, #1
	blr	x8
	mov	x0, x19
	bl	_ata_sff_sync
	ldr	w8, [x20]
	cmp	w8, #130
	b.eq	LBB0_4
; %bb.1:
	cmp	w8, #129
	b.eq	LBB0_5
; %bb.2:
	cmp	w8, #128
	b.ne	LBB0_7
; %bb.3:
Lloh2:
	adrp	x8, _HSM_ST@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HSM_ST@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
Lloh4:
	adrp	x8, _HSM_ST_LAST@GOTPAGE
Lloh5:
	ldr	x8, [x8, _HSM_ST_LAST@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	str	x8, [x19, #8]
	ldr	x8, [x19]
	ldr	x1, [x8]
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	br	x1
LBB0_5:
Lloh7:
	adrp	x8, _HSM_ST_LAST@GOTPAGE
Lloh8:
	ldr	x8, [x8, _HSM_ST_LAST@GOTPAGEOFF]
LBB0_6:
	ldr	x8, [x8]
	str	x8, [x19, #8]
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"send cdb\n"

	.comm	_HSM_ST,8,3                     ; @HSM_ST
	.comm	_HSM_ST_LAST,8,3                ; @HSM_ST_LAST
	.no_dead_strip	_atapi_send_cdb
.subsections_via_symbols
