	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ata_force_cbl                  ## -- Begin function ata_force_cbl
	.p2align	4, 0x90
_ata_force_cbl:                         ## @ata_force_cbl
	.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_force_tbl_size@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_6
## %bb.1:
	movq	_ata_force_tbl@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_ATA_CBL_NONE@GOTPCREL(%rip), %rdx
	movq	(%rdx), %r8
	incq	%rax
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rcx,%rdx,8), %rsi
	cmpq	%r8, %rsi
	jne	LBB0_7
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	decq	%rax
	cmpq	$1, %rax
	jbe	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leal	-2(%rax), %edx
	leaq	(%rdx,%rdx,2), %rdx
	movl	(%rcx,%rdx,8), %esi
	cmpl	$-1, %esi
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	(%rdi), %esi
	je	LBB0_4
	jmp	LBB0_5
LBB0_6:
	popq	%rbp
	retq
LBB0_7:
	movq	%rsi, 8(%rdi)
	movq	_KERN_NOTICE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	16(%rcx,%rdx,8), %ecx
	leaq	L_.str(%rip), %rdx
	popq	%rbp
	jmp	_ata_port_printk                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ata_force_tbl_size,4,2         ## @ata_force_tbl_size
	.comm	_ata_force_tbl,8,3              ## @ata_force_tbl
	.comm	_ATA_CBL_NONE,8,3               ## @ATA_CBL_NONE
	.comm	_KERN_NOTICE,4,2                ## @KERN_NOTICE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"FORCE: cable set to %s\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ata_force_cbl                  ; -- Begin function ata_force_cbl
	.p2align	2
_ata_force_cbl:                         ; @ata_force_cbl
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _ata_force_tbl_size@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ata_force_tbl_size@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x8]
	cmp	w10, #1
	b.lt	LBB0_6
; %bb.1:
Lloh3:
	adrp	x8, _ata_force_tbl@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ata_force_tbl@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _ATA_CBL_NONE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ATA_CBL_NONE@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	add	x10, x10, #1
	mov	w11, #24
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	madd	x13, x12, x11, x8
	ldr	x13, [x13, #8]
	cmp	x13, x9
	b.ne	LBB0_7
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	sub	x10, x10, #1
	cmp	x10, #1
	b.ls	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	sub	w12, w10, #2
	umull	x13, w12, w11
	ldr	w13, [x8, x13]
	cmn	w13, #1
	b.eq	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w14, [x0]
	cmp	w13, w14
	b.eq	LBB0_2
	b	LBB0_3
LBB0_6:
	ret
LBB0_7:
	str	x13, [x0, #8]
Lloh9:
	adrp	x9, _KERN_NOTICE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _KERN_NOTICE@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x9]
	mov	w9, #24
	madd	x8, x12, x9, x8
	ldr	w3, [x8, #16]
Lloh12:
	adrp	x2, l_.str@PAGE
Lloh13:
	add	x2, x2, l_.str@PAGEOFF
	b	_ata_port_printk
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ata_force_tbl_size,4,2         ; @ata_force_tbl_size
	.comm	_ata_force_tbl,8,3              ; @ata_force_tbl
	.comm	_ATA_CBL_NONE,8,3               ; @ATA_CBL_NONE
	.comm	_KERN_NOTICE,4,2                ; @KERN_NOTICE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"FORCE: cable set to %s\n"

.subsections_via_symbols
