	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function idedisk_cache_proc_show
_idedisk_cache_proc_show:               ## @idedisk_cache_proc_show
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	_IDE_DFLAG_ID_READ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_2
## %bb.1:
	movq	8(%rax), %rax
	movq	_ATA_ID_BUF_SIZE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%eax, %edx
	sarl	%edx
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_seq_printf
	jmp	LBB0_3
LBB0_2:
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_seq_printf
LBB0_3:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IDE_DFLAG_ID_READ,4,2          ## @IDE_DFLAG_ID_READ
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%i\n"

	.comm	_ATA_ID_BUF_SIZE,8,3            ## @ATA_ID_BUF_SIZE
L_.str.1:                               ## @.str.1
	.asciz	"(none)\n"

	.no_dead_strip	_idedisk_cache_proc_show
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function idedisk_cache_proc_show
_idedisk_cache_proc_show:               ; @idedisk_cache_proc_show
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	ldr	x8, [x0]
	ldr	w9, [x8]
Lloh0:
	adrp	x10, _IDE_DFLAG_ID_READ@GOTPAGE
Lloh1:
	ldr	x10, [x10, _IDE_DFLAG_ID_READ@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_2
; %bb.1:
	ldr	x8, [x8, #8]
Lloh3:
	adrp	x9, _ATA_ID_BUF_SIZE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ATA_ID_BUF_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	w8, [x8, x9, lsl #2]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w8, w8, #1
	str	x8, [sp]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_3
LBB0_2:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_3:
	bl	_seq_printf
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_IDE_DFLAG_ID_READ,4,2          ; @IDE_DFLAG_ID_READ
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%i\n"

	.comm	_ATA_ID_BUF_SIZE,8,3            ; @ATA_ID_BUF_SIZE
l_.str.1:                               ; @.str.1
	.asciz	"(none)\n"

	.no_dead_strip	_idedisk_cache_proc_show
.subsections_via_symbols
