	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fst_init_dma
_fst_init_dma:                          ## @fst_init_dma
	.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), %rax
	movq	_FST_FAMILY_TXU@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	movl	16(%rdi), %edi
	callq	_pci_set_master
	movq	_DMAMODE0@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	movl	$132161, %edi                   ## imm = 0x20441
	callq	_outl
	movq	_DMAMODE1@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	movl	$132161, %edi                   ## imm = 0x20441
	callq	_outl
	movq	_DMATHR@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	xorl	%edi, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_outl                           ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FST_FAMILY_TXU,8,3             ## @FST_FAMILY_TXU
	.comm	_DMAMODE0,8,3                   ## @DMAMODE0
	.comm	_DMAMODE1,8,3                   ## @DMAMODE1
	.comm	_DMATHR,8,3                     ## @DMATHR
	.no_dead_strip	_fst_init_dma
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fst_init_dma
_fst_init_dma:                          ; @fst_init_dma
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _FST_FAMILY_TXU@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FST_FAMILY_TXU@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	x19, x0
	ldr	w0, [x0, #16]
	bl	_pci_set_master
	ldr	x8, [x19, #8]
Lloh3:
	adrp	x9, _DMAMODE0@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DMAMODE0@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #1089
	movk	w0, #2, lsl #16
	bl	_outl
	ldr	x8, [x19, #8]
Lloh6:
	adrp	x9, _DMAMODE1@GOTPAGE
Lloh7:
	ldr	x9, [x9, _DMAMODE1@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #1089
	movk	w0, #2, lsl #16
	bl	_outl
	ldr	x8, [x19, #8]
Lloh9:
	adrp	x9, _DMATHR@GOTPAGE
Lloh10:
	ldr	x9, [x9, _DMATHR@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_outl
LBB0_2:
	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 AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_FST_FAMILY_TXU,8,3             ; @FST_FAMILY_TXU
	.comm	_DMAMODE0,8,3                   ; @DMAMODE0
	.comm	_DMAMODE1,8,3                   ; @DMAMODE1
	.comm	_DMATHR,8,3                     ; @DMATHR
	.no_dead_strip	_fst_init_dma
.subsections_via_symbols
