	.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:
	leaq	L_.str(%rip), %rdi
	callq	_pr_err
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
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dst_gpio_outb ERROR !\n"

	.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	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
	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	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_RDC_8820_PIO_0_DISABLE,4,2     ; @RDC_8820_PIO_0_DISABLE
	.comm	_NO_DELAY,4,2                   ; @NO_DELAY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dst_gpio_outb ERROR !\n"

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