	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ata_host_alloc_pinfo           ## -- Begin function ata_host_alloc_pinfo
	.p2align	4, 0x90
_ata_host_alloc_pinfo:                  ## @ata_host_alloc_pinfo
	.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
	movq	%rsi, %r14
	movl	%edx, %esi
	callq	_ata_host_alloc
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movl	(%rax), %r9d
	testl	%r9d, %r9d
	jle	LBB0_7
## %bb.2:
	movq	8(%rax), %r15
	movq	16(%rax), %r10
	xorl	%esi, %esi
	movq	_ata_dummy_port_ops@GOTPCREL(%rip), %r8
	xorl	%ebx, %ebx
	xorl	%ecx, %ecx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movb	%r11b, %r12b
	addl	%r12d, %ebx
	incq	%rsi
	cmpq	%rsi, %r9
	je	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r10,%rsi,8), %rdx
	movl	%ebx, %edi
	movq	(%r14,%rdi,8), %rdi
	xorl	%r12d, %r12d
	testq	%rdi, %rdi
	setne	%r11b
	cmovneq	%rdi, %rcx
	movl	24(%rcx), %edi
	movl	%edi, 24(%rdx)
	movl	20(%rcx), %edi
	movl	%edi, 20(%rdx)
	movl	16(%rcx), %edi
	movl	%edi, 16(%rdx)
	movl	12(%rcx), %edi
	orl	%edi, 12(%rdx)
	movl	8(%rcx), %edi
	orl	%edi, 8(%rdx)
	movq	(%rcx), %rdi
	movq	%rdi, (%rdx)
	testq	%r15, %r15
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	%r8, %rdi
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rdi, 8(%rax)
	movq	%rdi, %r15
	jmp	LBB0_6
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ata_dummy_port_ops,4,2         ## @ata_dummy_port_ops
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ata_host_alloc_pinfo           ; -- Begin function ata_host_alloc_pinfo
	.p2align	2
_ata_host_alloc_pinfo:                  ; @ata_host_alloc_pinfo
	.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	x19, x1
	mov	x1, x2
	bl	_ata_host_alloc
	cbz	x0, LBB0_7
; %bb.1:
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.2:
	mov	w9, #0
	mov	x10, #0
	ldp	x12, x11, [x0, #8]
Lloh0:
	adrp	x13, _ata_dummy_port_ops@GOTPAGE
Lloh1:
	ldr	x13, [x13, _ata_dummy_port_ops@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x11, x11, #8
	subs	x8, x8, #1
	b.eq	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x15, [x11]
	ldr	x14, [x19, w9, uxtw #3]
	cmp	x14, #0
	csel	x10, x10, x14, eq
	cinc	w9, w9, ne
	ldr	w14, [x10, #24]
	str	w14, [x15, #24]
	ldr	d0, [x10, #16]
	str	d0, [x15, #16]
	ldr	d0, [x10, #8]
	ldr	d1, [x15, #8]
	orr.8b	v0, v1, v0
	str	d0, [x15, #8]
	ldr	x14, [x10]
	str	x14, [x15]
	cbnz	x12, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	x14, x13
	b.eq	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	str	x14, [x0, #8]
	mov	x12, x14
	b	LBB0_3
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ata_dummy_port_ops,4,2         ; @ata_dummy_port_ops
.subsections_via_symbols
