	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ata_lookup_timeout_table
_ata_lookup_timeout_table:              ## @ata_lookup_timeout_table
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_ATA_EH_CMD_TIMEOUT_TABLE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movl	$-1, %eax
	testl	%r9d, %r9d
	jle	LBB0_8
## %bb.1:
	movq	_ata_eh_cmd_timeout_table@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r8
	xorl	%edx, %edx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rdx
	cmpq	%r9, %rdx
	je	LBB0_8
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movq	(%r8,%rdx,8), %rsi
	movq	(%rsi), %rcx
	testq	%rcx, %rcx
	je	LBB0_2
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	addq	$8, %rsi
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	%rdi, %rcx
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	movq	(%rsi), %rcx
	addq	$8, %rsi
	testq	%rcx, %rcx
	jne	LBB0_5
	jmp	LBB0_2
LBB0_7:
	movl	%edx, %eax
LBB0_8:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ATA_EH_CMD_TIMEOUT_TABLE_SIZE,4,2 ## @ATA_EH_CMD_TIMEOUT_TABLE_SIZE
	.comm	_ata_eh_cmd_timeout_table,8,3   ## @ata_eh_cmd_timeout_table
	.no_dead_strip	_ata_lookup_timeout_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ata_lookup_timeout_table
_ata_lookup_timeout_table:              ; @ata_lookup_timeout_table
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x9, _ATA_EH_CMD_TIMEOUT_TABLE_SIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ATA_EH_CMD_TIMEOUT_TABLE_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w9, #1
	b.lt	LBB0_7
; %bb.1:
	mov	x8, x0
	mov	x0, #0
Lloh3:
	adrp	x10, _ata_eh_cmd_timeout_table@GOTPAGE
Lloh4:
	ldr	x10, [x10, _ata_eh_cmd_timeout_table@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x0, x0, #1
	cmp	x0, x9
	b.eq	LBB0_7
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	ldr	x11, [x10, x0, lsl #3]
	ldr	x12, [x11]
	cbz	x12, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x11, x11, #8
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	x12, x8
	b.eq	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=2
	ldr	x12, [x11], #8
	cbnz	x12, LBB0_5
	b	LBB0_2
LBB0_7:
	mov	w0, #-1
LBB0_8:
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ATA_EH_CMD_TIMEOUT_TABLE_SIZE,4,2 ; @ATA_EH_CMD_TIMEOUT_TABLE_SIZE
	.comm	_ata_eh_cmd_timeout_table,8,3   ; @ata_eh_cmd_timeout_table
	.no_dead_strip	_ata_lookup_timeout_table
.subsections_via_symbols
