	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ata_devchk
_ata_devchk:                            ## @ata_devchk
	.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	%rdi, %rbx
	movq	(%rdi), %rax
	callq	*(%rax)
	movl	12(%rbx), %esi
	movl	$85, %edi
	callq	_iowrite8
	movl	8(%rbx), %esi
	movl	$170, %edi
	callq	_iowrite8
	movl	12(%rbx), %esi
	movl	$170, %edi
	callq	_iowrite8
	movl	8(%rbx), %esi
	movl	$85, %edi
	callq	_iowrite8
	movl	12(%rbx), %esi
	movl	$85, %edi
	callq	_iowrite8
	movl	8(%rbx), %esi
	movl	$170, %edi
	callq	_iowrite8
	movl	12(%rbx), %edi
	callq	_ioread8
	movl	%eax, %r14d
	movl	8(%rbx), %edi
	callq	_ioread8
	xorl	$85, %r14d
	xorl	$170, %eax
	xorl	%ecx, %ecx
	orl	%r14d, %eax
	sete	%cl
	movl	%ecx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ata_devchk
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ata_devchk
_ata_devchk:                            ; @ata_devchk
	.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	x19, x0
	ldr	x8, [x0]
	ldr	x8, [x8]
	blr	x8
	ldr	w1, [x19, #12]
	mov	w0, #85
	bl	_iowrite8
	ldr	w1, [x19, #8]
	mov	w21, #170
	mov	w0, #170
	bl	_iowrite8
	ldr	w1, [x19, #12]
	mov	w0, #170
	bl	_iowrite8
	ldr	w1, [x19, #8]
	mov	w0, #85
	bl	_iowrite8
	ldr	w1, [x19, #12]
	mov	w0, #85
	bl	_iowrite8
	ldr	w1, [x19, #8]
	mov	w0, #170
	bl	_iowrite8
	ldr	w0, [x19, #12]
	bl	_ioread8
	mov	x20, x0
	ldr	w0, [x19, #8]
	bl	_ioread8
	cmp	w20, #85
	ccmp	w0, w21, #0, eq
	cset	w0, eq
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ata_devchk
.subsections_via_symbols
