	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function optidma_make_bits43
_optidma_make_bits43:                   ## @optidma_make_bits43
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_ata_dev_enabled
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	(%rbx), %eax
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movq	_XFER_MW_DMA_0@GOTPCREL(%rip), %rcx
	subl	(%rcx), %eax
	jmp	LBB0_5
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_4:
	movq	8(%rbx), %rax
	movq	_XFER_PIO_0@GOTPCREL(%rip), %rcx
	subq	(%rcx), %rax
	leaq	_optidma_make_bits43.bits43(%rip), %rcx
	movl	(%rcx,%rax,4), %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @optidma_make_bits43.bits43
_optidma_make_bits43.bits43:
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.long	2                               ## 0x2

	.comm	_XFER_MW_DMA_0,4,2              ## @XFER_MW_DMA_0
	.comm	_XFER_PIO_0,8,3                 ## @XFER_PIO_0
	.no_dead_strip	_optidma_make_bits43
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function optidma_make_bits43
_optidma_make_bits43:                   ; @optidma_make_bits43
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_ata_dev_enabled
	cbz	w0, LBB0_4
; %bb.1:
	ldr	w8, [x19]
	cbz	w8, LBB0_3
; %bb.2:
Lloh0:
	adrp	x9, _XFER_MW_DMA_0@GOTPAGE
Lloh1:
	ldr	x9, [x9, _XFER_MW_DMA_0@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	sub	w0, w8, w9
	b	LBB0_4
LBB0_3:
	ldr	x8, [x19, #8]
Lloh3:
	adrp	x9, _XFER_PIO_0@GOTPAGE
Lloh4:
	ldr	x9, [x9, _XFER_PIO_0@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	sub	x8, x8, x9
Lloh6:
	adrp	x9, _optidma_make_bits43.bits43@PAGE
Lloh7:
	add	x9, x9, _optidma_make_bits43.bits43@PAGEOFF
	ldr	w0, [x9, x8, lsl #2]
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @optidma_make_bits43.bits43
_optidma_make_bits43.bits43:
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.long	2                               ; 0x2

	.comm	_XFER_MW_DMA_0,4,2              ; @XFER_MW_DMA_0
	.comm	_XFER_PIO_0,8,3                 ; @XFER_PIO_0
	.no_dead_strip	_optidma_make_bits43
.subsections_via_symbols
