	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fsl_sata_notify_events
_fsl_sata_notify_events:                ## @fsl_sata_notify_events
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r14
	movl	8(%rdi), %edi
	movq	_FSL_SATA_P_SNTF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edx
	callq	_ATA_OUTL
	movq	_bootverbose@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movl	4(%r14), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edx
	callq	_device_printf
LBB0_2:
	xorl	%ebx, %ebx
	leaq	-48(%rbp), %r12
	movq	_CAM_REQ_CMP@GOTPCREL(%rip), %r13
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	incl	%ebx
	cmpl	$16, %ebx
	je	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	btl	%ebx, %r15d
	jae	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r14), %edi
	callq	_xpt_path_path_id
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	%eax, %edx
	movl	%ebx, %ecx
	xorl	%r8d, %r8d
	callq	_xpt_create_path
	cmpq	(%r13), %rax
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_AC_SCSI_AEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-48(%rbp), %rsi
	xorl	%edx, %edx
	callq	_xpt_async
	movq	-48(%rbp), %rdi
	callq	_xpt_free_path
	jmp	LBB0_6
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FSL_SATA_P_SNTF,4,2            ## @FSL_SATA_P_SNTF
	.comm	_bootverbose,8,3                ## @bootverbose
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SNTF 0x%04x\n"

	.comm	_CAM_REQ_CMP,8,3                ## @CAM_REQ_CMP
	.comm	_AC_SCSI_AEN,4,2                ## @AC_SCSI_AEN
	.no_dead_strip	_fsl_sata_notify_events
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fsl_sata_notify_events
_fsl_sata_notify_events:                ; @fsl_sata_notify_events
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x20, x0
	ldr	w0, [x0, #8]
Lloh0:
	adrp	x8, _FSL_SATA_P_SNTF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FSL_SATA_P_SNTF@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_ATA_OUTL
Lloh3:
	adrp	x8, _bootverbose@GOTPAGE
Lloh4:
	ldr	x8, [x8, _bootverbose@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w0, [x20, #4]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_device_printf
LBB0_2:
	mov	w21, #0
Lloh8:
	adrp	x22, _CAM_REQ_CMP@GOTPAGE
Lloh9:
	ldr	x22, [x22, _CAM_REQ_CMP@GOTPAGEOFF]
Lloh10:
	adrp	x23, _AC_SCSI_AEN@GOTPAGE
Lloh11:
	ldr	x23, [x23, _AC_SCSI_AEN@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w21, w21, #1
	cmp	w21, #16
	b.eq	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	lsr	w8, w19, w21
	tbz	w8, #0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x20]
	bl	_xpt_path_path_id
	mov	x2, x0
	add	x0, sp, #8
	mov	x1, #0
	mov	x3, x21
	mov	w4, #0
	bl	_xpt_create_path
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x23]
	ldr	x1, [sp, #8]
	mov	x2, #0
	bl	_xpt_async
	ldr	x0, [sp, #8]
	bl	_xpt_free_path
	b	LBB0_3
LBB0_7:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_FSL_SATA_P_SNTF,4,2            ; @FSL_SATA_P_SNTF
	.comm	_bootverbose,8,3                ; @bootverbose
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SNTF 0x%04x\n"

	.comm	_CAM_REQ_CMP,8,3                ; @CAM_REQ_CMP
	.comm	_AC_SCSI_AEN,4,2                ; @AC_SCSI_AEN
	.no_dead_strip	_fsl_sata_notify_events
.subsections_via_symbols
