	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function serverworks_osb4_filter
_serverworks_osb4_filter:               ## @serverworks_osb4_filter
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	_ATA_DEV_ATA@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	_ATA_MASK_UDMA@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	notq	%rax
	movq	$-1, %rcx
	cmoveq	%rax, %rcx
	andq	%rcx, %rsi
	popq	%rbp
	jmp	_ata_bmdma_mode_filter          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ATA_DEV_ATA,8,3                ## @ATA_DEV_ATA
	.comm	_ATA_MASK_UDMA,8,3              ## @ATA_MASK_UDMA
	.no_dead_strip	_serverworks_osb4_filter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function serverworks_osb4_filter
_serverworks_osb4_filter:               ; @serverworks_osb4_filter
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _ATA_DEV_ATA@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ATA_DEV_ATA@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _ATA_MASK_UDMA@GOTPAGE
Lloh4:
	ldr	x10, [x10, _ATA_MASK_UDMA@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x9
	mov	x8, #-1
	csinv	x8, x8, x10, ne
	and	x1, x8, x1
	b	_ata_bmdma_mode_filter
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ATA_DEV_ATA,8,3                ; @ATA_DEV_ATA
	.comm	_ATA_MASK_UDMA,8,3              ; @ATA_MASK_UDMA
	.no_dead_strip	_serverworks_osb4_filter
.subsections_via_symbols
