	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ata_acpi_filter_tf
_ata_acpi_filter_tf:                    ## @ata_acpi_filter_tf
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %r10d
	movq	_ATA_ACPI_FILTER_SETXFER@GOTPCREL(%rip), %rax
	testl	%r10d, (%rax)
	je	LBB0_3
## %bb.1:
	movq	(%rsi), %rax
	movq	_ATA_CMD_SET_FEATURES@GOTPCREL(%rip), %rdi
	cmpq	(%rdi), %rax
	jne	LBB0_3
## %bb.2:
	movq	8(%rsi), %rdi
	movq	_SETFEATURES_XFER@GOTPCREL(%rip), %r8
	movl	$1, %eax
	cmpq	(%r8), %rdi
	je	LBB0_24
LBB0_3:
	movq	_ATA_ACPI_FILTER_LOCK@GOTPCREL(%rip), %rax
	movq	(%rsi), %rdi
	testl	%r10d, (%rax)
	je	LBB0_14
## %bb.4:
	movq	_ATA_CMD_CONF_OVERLAY@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	jne	LBB0_7
## %bb.5:
	movq	8(%rsi), %r8
	movq	_ATA_DCO_FREEZE_LOCK@GOTPCREL(%rip), %r9
	movl	$1, %eax
	cmpq	(%r9), %r8
	je	LBB0_24
## %bb.6:
	movq	_ATA_CMD_SEC_FREEZE_LOCK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rdi
	jne	LBB0_9
LBB0_24:
	popq	%rbp
	retq
LBB0_7:
	movq	_ATA_CMD_SEC_FREEZE_LOCK@GOTPCREL(%rip), %rcx
	movl	$1, %eax
	cmpq	(%rcx), %rdi
	je	LBB0_24
LBB0_9:
	testq	%rdx, %rdx
	je	LBB0_11
## %bb.10:
	movq	(%rdx), %rax
	movq	_ATA_CMD_READ_NATIVE_MAX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_14
LBB0_11:
	movq	_ATA_CMD_SET_MAX@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	jne	LBB0_14
## %bb.12:
	movq	8(%rsi), %rdx
	movq	_ATA_SET_MAX_LOCK@GOTPCREL(%rip), %rcx
	movl	$1, %eax
	cmpq	(%rcx), %rdx
	je	LBB0_24
## %bb.13:
	movq	_ATA_SET_MAX_FREEZE_LOCK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rdx
	je	LBB0_24
LBB0_14:
	movq	_ATA_CMD_SET_FEATURES@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	jne	LBB0_23
## %bb.15:
	movq	8(%rsi), %rax
	movq	_SETFEATURES_SATA_ENABLE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_23
## %bb.16:
	movq	_ATA_ACPI_FILTER_DIPM@GOTPCREL(%rip), %rax
	testl	%r10d, (%rax)
	je	LBB0_18
## %bb.17:
	movq	16(%rsi), %rcx
	movq	_SATA_DIPM@GOTPCREL(%rip), %rdx
	movl	$1, %eax
	cmpq	(%rdx), %rcx
	je	LBB0_24
LBB0_18:
	movq	_ATA_ACPI_FILTER_FPDMA_OFFSET@GOTPCREL(%rip), %rax
	testl	%r10d, (%rax)
	je	LBB0_21
## %bb.19:
	movq	16(%rsi), %rdx
	movq	_SATA_FPDMA_OFFSET@GOTPCREL(%rip), %rcx
	movl	$1, %eax
	cmpq	(%rcx), %rdx
	je	LBB0_24
## %bb.20:
	movq	_SATA_FPDMA_IN_ORDER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rdx
	je	LBB0_24
LBB0_21:
	movq	_ATA_ACPI_FILTER_FPDMA_AA@GOTPCREL(%rip), %rax
	testl	%r10d, (%rax)
	je	LBB0_23
## %bb.22:
	movq	16(%rsi), %rcx
	movq	_SATA_FPDMA_AA@GOTPCREL(%rip), %rdx
	movl	$1, %eax
	cmpq	(%rdx), %rcx
	je	LBB0_24
LBB0_23:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ATA_ACPI_FILTER_SETXFER,4,2    ## @ATA_ACPI_FILTER_SETXFER
	.comm	_ATA_CMD_SET_FEATURES,8,3       ## @ATA_CMD_SET_FEATURES
	.comm	_SETFEATURES_XFER,8,3           ## @SETFEATURES_XFER
	.comm	_ATA_ACPI_FILTER_LOCK,4,2       ## @ATA_ACPI_FILTER_LOCK
	.comm	_ATA_CMD_CONF_OVERLAY,8,3       ## @ATA_CMD_CONF_OVERLAY
	.comm	_ATA_DCO_FREEZE_LOCK,8,3        ## @ATA_DCO_FREEZE_LOCK
	.comm	_ATA_CMD_SEC_FREEZE_LOCK,8,3    ## @ATA_CMD_SEC_FREEZE_LOCK
	.comm	_ATA_CMD_READ_NATIVE_MAX,8,3    ## @ATA_CMD_READ_NATIVE_MAX
	.comm	_ATA_CMD_SET_MAX,8,3            ## @ATA_CMD_SET_MAX
	.comm	_ATA_SET_MAX_LOCK,8,3           ## @ATA_SET_MAX_LOCK
	.comm	_ATA_SET_MAX_FREEZE_LOCK,8,3    ## @ATA_SET_MAX_FREEZE_LOCK
	.comm	_SETFEATURES_SATA_ENABLE,8,3    ## @SETFEATURES_SATA_ENABLE
	.comm	_ATA_ACPI_FILTER_DIPM,4,2       ## @ATA_ACPI_FILTER_DIPM
	.comm	_SATA_DIPM,8,3                  ## @SATA_DIPM
	.comm	_ATA_ACPI_FILTER_FPDMA_OFFSET,4,2 ## @ATA_ACPI_FILTER_FPDMA_OFFSET
	.comm	_SATA_FPDMA_OFFSET,8,3          ## @SATA_FPDMA_OFFSET
	.comm	_SATA_FPDMA_IN_ORDER,8,3        ## @SATA_FPDMA_IN_ORDER
	.comm	_ATA_ACPI_FILTER_FPDMA_AA,4,2   ## @ATA_ACPI_FILTER_FPDMA_AA
	.comm	_SATA_FPDMA_AA,8,3              ## @SATA_FPDMA_AA
	.no_dead_strip	_ata_acpi_filter_tf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ata_acpi_filter_tf
_ata_acpi_filter_tf:                    ; @ata_acpi_filter_tf
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _ATA_ACPI_FILTER_SETXFER@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ATA_ACPI_FILTER_SETXFER@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x9]
Lloh3:
	adrp	x9, _ATA_CMD_SET_FEATURES@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ATA_CMD_SET_FEATURES@GOTPAGEOFF]
	tst	w10, w8
	b.eq	LBB0_4
; %bb.1:
	ldr	x10, [x1]
	ldr	x11, [x9]
	cmp	x10, x11
	b.ne	LBB0_4
; %bb.2:
	ldr	x10, [x1, #8]
Lloh5:
	adrp	x11, _SETFEATURES_XFER@GOTPAGE
Lloh6:
	ldr	x11, [x11, _SETFEATURES_XFER@GOTPAGEOFF]
Lloh7:
	ldr	x11, [x11]
	cmp	x10, x11
	b.ne	LBB0_4
; %bb.3:
	mov	w0, #1
	ret
LBB0_4:
Lloh8:
	adrp	x10, _ATA_ACPI_FILTER_LOCK@GOTPAGE
Lloh9:
	ldr	x10, [x10, _ATA_ACPI_FILTER_LOCK@GOTPAGEOFF]
Lloh10:
	ldr	w11, [x10]
	ldr	x10, [x1]
	tst	w11, w8
	b.eq	LBB0_15
; %bb.5:
Lloh11:
	adrp	x11, _ATA_CMD_CONF_OVERLAY@GOTPAGE
Lloh12:
	ldr	x11, [x11, _ATA_CMD_CONF_OVERLAY@GOTPAGEOFF]
Lloh13:
	ldr	x11, [x11]
	cmp	x10, x11
	b.ne	LBB0_8
; %bb.6:
	ldr	x11, [x1, #8]
Lloh14:
	adrp	x12, _ATA_DCO_FREEZE_LOCK@GOTPAGE
Lloh15:
	ldr	x12, [x12, _ATA_DCO_FREEZE_LOCK@GOTPAGEOFF]
Lloh16:
	ldr	x12, [x12]
Lloh17:
	adrp	x13, _ATA_CMD_SEC_FREEZE_LOCK@GOTPAGE
Lloh18:
	ldr	x13, [x13, _ATA_CMD_SEC_FREEZE_LOCK@GOTPAGEOFF]
Lloh19:
	ldr	x13, [x13]
	cmp	x11, x12
	ccmp	x10, x13, #4, ne
	b.ne	LBB0_10
; %bb.7:
	mov	w0, #1
	ret
LBB0_8:
Lloh20:
	adrp	x11, _ATA_CMD_SEC_FREEZE_LOCK@GOTPAGE
Lloh21:
	ldr	x11, [x11, _ATA_CMD_SEC_FREEZE_LOCK@GOTPAGEOFF]
Lloh22:
	ldr	x11, [x11]
	cmp	x10, x11
	b.ne	LBB0_10
; %bb.9:
	mov	w0, #1
	ret
LBB0_10:
	cbz	x2, LBB0_12
; %bb.11:
	ldr	x11, [x2]
Lloh23:
	adrp	x12, _ATA_CMD_READ_NATIVE_MAX@GOTPAGE
Lloh24:
	ldr	x12, [x12, _ATA_CMD_READ_NATIVE_MAX@GOTPAGEOFF]
Lloh25:
	ldr	x12, [x12]
Lloh26:
	adrp	x13, _ATA_CMD_SET_MAX@GOTPAGE
Lloh27:
	ldr	x13, [x13, _ATA_CMD_SET_MAX@GOTPAGEOFF]
Lloh28:
	ldr	x13, [x13]
	cmp	x11, x12
	ccmp	x10, x13, #0, ne
	b.eq	LBB0_13
	b	LBB0_15
LBB0_12:
Lloh29:
	adrp	x11, _ATA_CMD_SET_MAX@GOTPAGE
Lloh30:
	ldr	x11, [x11, _ATA_CMD_SET_MAX@GOTPAGEOFF]
Lloh31:
	ldr	x11, [x11]
	cmp	x10, x11
	b.ne	LBB0_15
LBB0_13:
	ldr	x11, [x1, #8]
Lloh32:
	adrp	x12, _ATA_SET_MAX_LOCK@GOTPAGE
Lloh33:
	ldr	x12, [x12, _ATA_SET_MAX_LOCK@GOTPAGEOFF]
Lloh34:
	ldr	x12, [x12]
Lloh35:
	adrp	x13, _ATA_SET_MAX_FREEZE_LOCK@GOTPAGE
Lloh36:
	ldr	x13, [x13, _ATA_SET_MAX_FREEZE_LOCK@GOTPAGEOFF]
Lloh37:
	ldr	x13, [x13]
	cmp	x11, x12
	ccmp	x11, x13, #4, ne
	b.ne	LBB0_15
; %bb.14:
	mov	w0, #1
	ret
LBB0_15:
	ldr	x9, [x9]
	cmp	x10, x9
	b.ne	LBB0_26
; %bb.16:
	ldr	x9, [x1, #8]
Lloh38:
	adrp	x10, _SETFEATURES_SATA_ENABLE@GOTPAGE
Lloh39:
	ldr	x10, [x10, _SETFEATURES_SATA_ENABLE@GOTPAGEOFF]
Lloh40:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_26
; %bb.17:
Lloh41:
	adrp	x9, _ATA_ACPI_FILTER_DIPM@GOTPAGE
Lloh42:
	ldr	x9, [x9, _ATA_ACPI_FILTER_DIPM@GOTPAGEOFF]
Lloh43:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_20
; %bb.18:
	ldr	x9, [x1, #16]
Lloh44:
	adrp	x10, _SATA_DIPM@GOTPAGE
Lloh45:
	ldr	x10, [x10, _SATA_DIPM@GOTPAGEOFF]
Lloh46:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_20
; %bb.19:
	mov	w0, #1
	ret
LBB0_20:
Lloh47:
	adrp	x9, _ATA_ACPI_FILTER_FPDMA_OFFSET@GOTPAGE
Lloh48:
	ldr	x9, [x9, _ATA_ACPI_FILTER_FPDMA_OFFSET@GOTPAGEOFF]
Lloh49:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_23
; %bb.21:
	ldr	x9, [x1, #16]
Lloh50:
	adrp	x10, _SATA_FPDMA_OFFSET@GOTPAGE
Lloh51:
	ldr	x10, [x10, _SATA_FPDMA_OFFSET@GOTPAGEOFF]
Lloh52:
	ldr	x10, [x10]
Lloh53:
	adrp	x11, _SATA_FPDMA_IN_ORDER@GOTPAGE
Lloh54:
	ldr	x11, [x11, _SATA_FPDMA_IN_ORDER@GOTPAGEOFF]
Lloh55:
	ldr	x11, [x11]
	cmp	x9, x10
	ccmp	x9, x11, #4, ne
	b.ne	LBB0_23
; %bb.22:
	mov	w0, #1
	ret
LBB0_23:
Lloh56:
	adrp	x9, _ATA_ACPI_FILTER_FPDMA_AA@GOTPAGE
Lloh57:
	ldr	x9, [x9, _ATA_ACPI_FILTER_FPDMA_AA@GOTPAGEOFF]
Lloh58:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_26
; %bb.24:
	ldr	x8, [x1, #16]
Lloh59:
	adrp	x9, _SATA_FPDMA_AA@GOTPAGE
Lloh60:
	ldr	x9, [x9, _SATA_FPDMA_AA@GOTPAGEOFF]
Lloh61:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_26
; %bb.25:
	mov	w0, #1
	ret
LBB0_26:
	mov	w0, #0
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.cfi_endproc
                                        ; -- End function
	.comm	_ATA_ACPI_FILTER_SETXFER,4,2    ; @ATA_ACPI_FILTER_SETXFER
	.comm	_ATA_CMD_SET_FEATURES,8,3       ; @ATA_CMD_SET_FEATURES
	.comm	_SETFEATURES_XFER,8,3           ; @SETFEATURES_XFER
	.comm	_ATA_ACPI_FILTER_LOCK,4,2       ; @ATA_ACPI_FILTER_LOCK
	.comm	_ATA_CMD_CONF_OVERLAY,8,3       ; @ATA_CMD_CONF_OVERLAY
	.comm	_ATA_DCO_FREEZE_LOCK,8,3        ; @ATA_DCO_FREEZE_LOCK
	.comm	_ATA_CMD_SEC_FREEZE_LOCK,8,3    ; @ATA_CMD_SEC_FREEZE_LOCK
	.comm	_ATA_CMD_READ_NATIVE_MAX,8,3    ; @ATA_CMD_READ_NATIVE_MAX
	.comm	_ATA_CMD_SET_MAX,8,3            ; @ATA_CMD_SET_MAX
	.comm	_ATA_SET_MAX_LOCK,8,3           ; @ATA_SET_MAX_LOCK
	.comm	_ATA_SET_MAX_FREEZE_LOCK,8,3    ; @ATA_SET_MAX_FREEZE_LOCK
	.comm	_SETFEATURES_SATA_ENABLE,8,3    ; @SETFEATURES_SATA_ENABLE
	.comm	_ATA_ACPI_FILTER_DIPM,4,2       ; @ATA_ACPI_FILTER_DIPM
	.comm	_SATA_DIPM,8,3                  ; @SATA_DIPM
	.comm	_ATA_ACPI_FILTER_FPDMA_OFFSET,4,2 ; @ATA_ACPI_FILTER_FPDMA_OFFSET
	.comm	_SATA_FPDMA_OFFSET,8,3          ; @SATA_FPDMA_OFFSET
	.comm	_SATA_FPDMA_IN_ORDER,8,3        ; @SATA_FPDMA_IN_ORDER
	.comm	_ATA_ACPI_FILTER_FPDMA_AA,4,2   ; @ATA_ACPI_FILTER_FPDMA_AA
	.comm	_SATA_FPDMA_AA,8,3              ; @SATA_FPDMA_AA
	.no_dead_strip	_ata_acpi_filter_tf
.subsections_via_symbols
