	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ata_dev_phys_link              ## -- Begin function ata_dev_phys_link
	.p2align	4, 0x90
_ata_dev_phys_link:                     ## @ata_dev_phys_link
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdi), %rax
	movq	(%rax), %rdx
	movq	(%rdx), %rcx
	testq	%rcx, %rcx
	je	LBB0_2
## %bb.1:
	addq	$8, %rdx
	cmpl	$0, (%rdi)
	cmoveq	%rdx, %rcx
	movq	%rcx, %rax
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ata_dev_phys_link              ; -- Begin function ata_dev_phys_link
	.p2align	2
_ata_dev_phys_link:                     ; @ata_dev_phys_link
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	ldr	x0, [x0, #8]
	ldr	x10, [x0]
	ldr	x9, [x10]
	cbz	x9, LBB0_2
; %bb.1:
	ldr	w8, [x8]
	add	x10, x10, #8
	cmp	w8, #0
	csel	x0, x10, x9, eq
LBB0_2:
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
