	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dst_pio_disable                ## -- Begin function dst_pio_disable
	.p2align	4, 0x90
_dst_pio_disable:                       ## @dst_pio_disable
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_RDC_8820_PIO_0_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_NO_DELAY@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	$-1, %r14d
	movl	$-1, %esi
	movl	%ecx, %edx
	callq	_dst_gpio_outb
	testq	%rax, %rax
	js	LBB0_1
## %bb.2:
	movq	_DST_TYPE_HAS_FW_1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%r14d, %r14d
	testl	%eax, (%rbx)
	je	LBB0_4
## %bb.3:
	movl	$1000, %edi                     ## imm = 0x3E8
	callq	_udelay
	jmp	LBB0_4
LBB0_1:
	movq	_verbose@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_DST_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rcx
	movl	$1, %edx
	callq	_dprintk
LBB0_4:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RDC_8820_PIO_0_DISABLE,4,2     ## @RDC_8820_PIO_0_DISABLE
	.comm	_NO_DELAY,4,2                   ## @NO_DELAY
	.comm	_verbose,4,2                    ## @verbose
	.comm	_DST_ERROR,4,2                  ## @DST_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dst_gpio_outb ERROR !"

	.comm	_DST_TYPE_HAS_FW_1,4,2          ## @DST_TYPE_HAS_FW_1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dst_pio_disable                ; -- Begin function dst_pio_disable
	.p2align	2
_dst_pio_disable:                       ; @dst_pio_disable
	.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
Lloh0:
	adrp	x8, _RDC_8820_PIO_0_DISABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RDC_8820_PIO_0_DISABLE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x8, _NO_DELAY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NO_DELAY@GOTPAGEOFF]
Lloh5:
	ldr	w4, [x8]
	mov	w1, #-1
	mov	x3, x2
	bl	_dst_gpio_outb
	tbnz	x0, #63, LBB0_4
; %bb.1:
	ldr	w8, [x19]
Lloh6:
	adrp	x9, _DST_TYPE_HAS_FW_1@GOTPAGE
Lloh7:
	ldr	x9, [x9, _DST_TYPE_HAS_FW_1@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
	mov	w0, #1000
	bl	_udelay
LBB0_3:
	mov	w0, #0
	b	LBB0_5
LBB0_4:
Lloh9:
	adrp	x8, _verbose@GOTPAGE
Lloh10:
	ldr	x8, [x8, _verbose@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x8, _DST_ERROR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DST_ERROR@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x3, l_.str@PAGE
Lloh16:
	add	x3, x3, l_.str@PAGEOFF
	mov	w2, #1
	bl	_dprintk
	mov	w0, #-1
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_RDC_8820_PIO_0_DISABLE,4,2     ; @RDC_8820_PIO_0_DISABLE
	.comm	_NO_DELAY,4,2                   ; @NO_DELAY
	.comm	_verbose,4,2                    ; @verbose
	.comm	_DST_ERROR,4,2                  ; @DST_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dst_gpio_outb ERROR !"

	.comm	_DST_TYPE_HAS_FW_1,4,2          ; @DST_TYPE_HAS_FW_1
.subsections_via_symbols
