	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function au1xxx_set_pio_mode
_au1xxx_set_pio_mode:                   ## @au1xxx_set_pio_mode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	_MEM_STCFG2@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_au_readl
	movl	%eax, %r14d
	cmpl	$4, %ebx
	ja	LBB0_1
## %bb.2:
	movl	%ebx, %eax
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_3:
	movq	_PIO0@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SBC_IDE_TIMING
	movl	%eax, %edi
	movq	_TS_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%r14d, %eax
	movq	_TCSOE_MASK@GOTPCREL(%rip), %rcx
	movq	_TOECS_MASK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	movq	_SBC_IDE_PIO0_TCSOE@GOTPCREL(%rip), %rax
	movq	_SBC_IDE_PIO0_TOECS@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_1:
	xorl	%edi, %edi
	jmp	LBB0_10
LBB0_5:
	movq	_PIO1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SBC_IDE_TIMING
	movl	%eax, %edi
	movq	_TS_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%r14d, %eax
	movq	_TCSOE_MASK@GOTPCREL(%rip), %rcx
	movq	_TOECS_MASK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	movq	_SBC_IDE_PIO1_TCSOE@GOTPCREL(%rip), %rax
	movq	_SBC_IDE_PIO1_TOECS@GOTPCREL(%rip), %rcx
LBB0_4:
	movl	(%rcx), %r14d
	orl	(%rax), %r14d
	orl	%edx, %r14d
	jmp	LBB0_10
LBB0_6:
	movq	_PIO2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SBC_IDE_TIMING
	movq	_TS_MASK@GOTPCREL(%rip), %rcx
	movq	_TCSOE_MASK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movl	%eax, %edi
	movq	_TOECS_MASK@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	notl	%edx
	andl	%edx, %r14d
	movq	_SBC_IDE_PIO2_TCSOE@GOTPCREL(%rip), %rax
	movq	_SBC_IDE_PIO2_TOECS@GOTPCREL(%rip), %rcx
	jmp	LBB0_9
LBB0_7:
	movq	_PIO3@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SBC_IDE_TIMING
	movq	_TS_MASK@GOTPCREL(%rip), %rcx
	movq	_TCSOE_MASK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movl	%eax, %edi
	movq	_TOECS_MASK@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	notl	%edx
	andl	%edx, %r14d
	movq	_SBC_IDE_PIO3_TCSOE@GOTPCREL(%rip), %rax
	movq	_SBC_IDE_PIO3_TOECS@GOTPCREL(%rip), %rcx
	jmp	LBB0_9
LBB0_8:
	movq	_PIO4@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SBC_IDE_TIMING
	movq	_TS_MASK@GOTPCREL(%rip), %rcx
	movq	_TCSOE_MASK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movl	%eax, %edi
	movq	_TOECS_MASK@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	notl	%edx
	andl	%edx, %r14d
	movq	_SBC_IDE_PIO4_TCSOE@GOTPCREL(%rip), %rax
	movq	_SBC_IDE_PIO4_TOECS@GOTPCREL(%rip), %rcx
LBB0_9:
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	orl	%ecx, %r14d
LBB0_10:
	movq	_MEM_STTIME2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_au_writel
	movl	(%r15), %esi
	movl	%r14d, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_au_writel                      ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_3
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.comm	_MEM_STCFG2,4,2                 ## @MEM_STCFG2
	.comm	_PIO0,4,2                       ## @PIO0
	.comm	_TS_MASK,4,2                    ## @TS_MASK
	.comm	_TCSOE_MASK,4,2                 ## @TCSOE_MASK
	.comm	_TOECS_MASK,4,2                 ## @TOECS_MASK
	.comm	_SBC_IDE_PIO0_TCSOE,4,2         ## @SBC_IDE_PIO0_TCSOE
	.comm	_SBC_IDE_PIO0_TOECS,4,2         ## @SBC_IDE_PIO0_TOECS
	.comm	_PIO1,4,2                       ## @PIO1
	.comm	_SBC_IDE_PIO1_TCSOE,4,2         ## @SBC_IDE_PIO1_TCSOE
	.comm	_SBC_IDE_PIO1_TOECS,4,2         ## @SBC_IDE_PIO1_TOECS
	.comm	_PIO2,4,2                       ## @PIO2
	.comm	_SBC_IDE_PIO2_TCSOE,4,2         ## @SBC_IDE_PIO2_TCSOE
	.comm	_SBC_IDE_PIO2_TOECS,4,2         ## @SBC_IDE_PIO2_TOECS
	.comm	_PIO3,4,2                       ## @PIO3
	.comm	_SBC_IDE_PIO3_TCSOE,4,2         ## @SBC_IDE_PIO3_TCSOE
	.comm	_SBC_IDE_PIO3_TOECS,4,2         ## @SBC_IDE_PIO3_TOECS
	.comm	_PIO4,4,2                       ## @PIO4
	.comm	_SBC_IDE_PIO4_TCSOE,4,2         ## @SBC_IDE_PIO4_TCSOE
	.comm	_SBC_IDE_PIO4_TOECS,4,2         ## @SBC_IDE_PIO4_TOECS
	.comm	_MEM_STTIME2,4,2                ## @MEM_STTIME2
	.no_dead_strip	_au1xxx_set_pio_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function au1xxx_set_pio_mode
_au1xxx_set_pio_mode:                   ; @au1xxx_set_pio_mode
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x1
Lloh0:
	adrp	x21, _MEM_STCFG2@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MEM_STCFG2@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_au_readl
	mov	x19, x0
	cmp	w20, #4
	b.hi	LBB0_3
; %bb.1:
	mov	w8, w20
Lloh2:
	adrp	x9, lJTI0_0@PAGE
Lloh3:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh4:
	adrp	x8, _PIO0@GOTPAGE
Lloh5:
	ldr	x8, [x8, _PIO0@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	bl	_SBC_IDE_TIMING
Lloh7:
	adrp	x8, _TS_MASK@GOTPAGE
Lloh8:
	ldr	x8, [x8, _TS_MASK@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	orr	w8, w8, w19
Lloh10:
	adrp	x9, _TCSOE_MASK@GOTPAGE
Lloh11:
	ldr	x9, [x9, _TCSOE_MASK@GOTPAGEOFF]
Lloh12:
	adrp	x10, _TOECS_MASK@GOTPAGE
Lloh13:
	ldr	x10, [x10, _TOECS_MASK@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
Lloh15:
	ldr	w10, [x10]
	orr	w9, w10, w9
	bic	w8, w8, w9
Lloh16:
	adrp	x9, _SBC_IDE_PIO0_TCSOE@GOTPAGE
Lloh17:
	ldr	x9, [x9, _SBC_IDE_PIO0_TCSOE@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
Lloh19:
	adrp	x10, _SBC_IDE_PIO0_TOECS@GOTPAGE
Lloh20:
	ldr	x10, [x10, _SBC_IDE_PIO0_TOECS@GOTPAGEOFF]
	b	LBB0_8
LBB0_3:
	mov	w0, #0
	b	LBB0_9
LBB0_4:
Lloh21:
	adrp	x8, _PIO1@GOTPAGE
Lloh22:
	ldr	x8, [x8, _PIO1@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	bl	_SBC_IDE_TIMING
Lloh24:
	adrp	x8, _TS_MASK@GOTPAGE
Lloh25:
	ldr	x8, [x8, _TS_MASK@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	orr	w8, w8, w19
Lloh27:
	adrp	x9, _TCSOE_MASK@GOTPAGE
Lloh28:
	ldr	x9, [x9, _TCSOE_MASK@GOTPAGEOFF]
Lloh29:
	adrp	x10, _TOECS_MASK@GOTPAGE
Lloh30:
	ldr	x10, [x10, _TOECS_MASK@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
Lloh32:
	ldr	w10, [x10]
	orr	w9, w10, w9
	bic	w8, w8, w9
Lloh33:
	adrp	x9, _SBC_IDE_PIO1_TCSOE@GOTPAGE
Lloh34:
	ldr	x9, [x9, _SBC_IDE_PIO1_TCSOE@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
Lloh36:
	adrp	x10, _SBC_IDE_PIO1_TOECS@GOTPAGE
Lloh37:
	ldr	x10, [x10, _SBC_IDE_PIO1_TOECS@GOTPAGEOFF]
	b	LBB0_8
LBB0_5:
Lloh38:
	adrp	x8, _PIO2@GOTPAGE
Lloh39:
	ldr	x8, [x8, _PIO2@GOTPAGEOFF]
Lloh40:
	ldr	w0, [x8]
	bl	_SBC_IDE_TIMING
Lloh41:
	adrp	x8, _TS_MASK@GOTPAGE
Lloh42:
	ldr	x8, [x8, _TS_MASK@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
Lloh44:
	adrp	x9, _TCSOE_MASK@GOTPAGE
Lloh45:
	ldr	x9, [x9, _TCSOE_MASK@GOTPAGEOFF]
Lloh46:
	ldr	w9, [x9]
Lloh47:
	adrp	x10, _TOECS_MASK@GOTPAGE
Lloh48:
	ldr	x10, [x10, _TOECS_MASK@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh49:
	ldr	w9, [x10]
	orr	w8, w8, w9
	bic	w8, w19, w8
Lloh50:
	adrp	x9, _SBC_IDE_PIO2_TCSOE@GOTPAGE
Lloh51:
	ldr	x9, [x9, _SBC_IDE_PIO2_TCSOE@GOTPAGEOFF]
Lloh52:
	ldr	w9, [x9]
Lloh53:
	adrp	x10, _SBC_IDE_PIO2_TOECS@GOTPAGE
Lloh54:
	ldr	x10, [x10, _SBC_IDE_PIO2_TOECS@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
Lloh55:
	adrp	x8, _PIO3@GOTPAGE
Lloh56:
	ldr	x8, [x8, _PIO3@GOTPAGEOFF]
Lloh57:
	ldr	w0, [x8]
	bl	_SBC_IDE_TIMING
Lloh58:
	adrp	x8, _TS_MASK@GOTPAGE
Lloh59:
	ldr	x8, [x8, _TS_MASK@GOTPAGEOFF]
Lloh60:
	ldr	w8, [x8]
Lloh61:
	adrp	x9, _TCSOE_MASK@GOTPAGE
Lloh62:
	ldr	x9, [x9, _TCSOE_MASK@GOTPAGEOFF]
Lloh63:
	ldr	w9, [x9]
Lloh64:
	adrp	x10, _TOECS_MASK@GOTPAGE
Lloh65:
	ldr	x10, [x10, _TOECS_MASK@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh66:
	ldr	w9, [x10]
	orr	w8, w8, w9
	bic	w8, w19, w8
Lloh67:
	adrp	x9, _SBC_IDE_PIO3_TCSOE@GOTPAGE
Lloh68:
	ldr	x9, [x9, _SBC_IDE_PIO3_TCSOE@GOTPAGEOFF]
Lloh69:
	ldr	w9, [x9]
Lloh70:
	adrp	x10, _SBC_IDE_PIO3_TOECS@GOTPAGE
Lloh71:
	ldr	x10, [x10, _SBC_IDE_PIO3_TOECS@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh72:
	adrp	x8, _PIO4@GOTPAGE
Lloh73:
	ldr	x8, [x8, _PIO4@GOTPAGEOFF]
Lloh74:
	ldr	w0, [x8]
	bl	_SBC_IDE_TIMING
Lloh75:
	adrp	x8, _TS_MASK@GOTPAGE
Lloh76:
	ldr	x8, [x8, _TS_MASK@GOTPAGEOFF]
Lloh77:
	ldr	w8, [x8]
Lloh78:
	adrp	x9, _TCSOE_MASK@GOTPAGE
Lloh79:
	ldr	x9, [x9, _TCSOE_MASK@GOTPAGEOFF]
Lloh80:
	ldr	w9, [x9]
Lloh81:
	adrp	x10, _TOECS_MASK@GOTPAGE
Lloh82:
	ldr	x10, [x10, _TOECS_MASK@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh83:
	ldr	w9, [x10]
	orr	w8, w8, w9
	bic	w8, w19, w8
Lloh84:
	adrp	x9, _SBC_IDE_PIO4_TCSOE@GOTPAGE
Lloh85:
	ldr	x9, [x9, _SBC_IDE_PIO4_TCSOE@GOTPAGEOFF]
Lloh86:
	ldr	w9, [x9]
Lloh87:
	adrp	x10, _SBC_IDE_PIO4_TOECS@GOTPAGE
Lloh88:
	ldr	x10, [x10, _SBC_IDE_PIO4_TOECS@GOTPAGEOFF]
LBB0_8:
	ldr	w10, [x10]
	orr	w9, w10, w9
	orr	w19, w9, w8
LBB0_9:
Lloh89:
	adrp	x8, _MEM_STTIME2@GOTPAGE
Lloh90:
	ldr	x8, [x8, _MEM_STTIME2@GOTPAGEOFF]
Lloh91:
	ldr	w1, [x8]
	bl	_au_writel
	ldr	w1, [x21]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_au_writel
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh14
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh31
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
                                        ; -- End function
	.comm	_MEM_STCFG2,4,2                 ; @MEM_STCFG2
	.comm	_PIO0,4,2                       ; @PIO0
	.comm	_TS_MASK,4,2                    ; @TS_MASK
	.comm	_TCSOE_MASK,4,2                 ; @TCSOE_MASK
	.comm	_TOECS_MASK,4,2                 ; @TOECS_MASK
	.comm	_SBC_IDE_PIO0_TCSOE,4,2         ; @SBC_IDE_PIO0_TCSOE
	.comm	_SBC_IDE_PIO0_TOECS,4,2         ; @SBC_IDE_PIO0_TOECS
	.comm	_PIO1,4,2                       ; @PIO1
	.comm	_SBC_IDE_PIO1_TCSOE,4,2         ; @SBC_IDE_PIO1_TCSOE
	.comm	_SBC_IDE_PIO1_TOECS,4,2         ; @SBC_IDE_PIO1_TOECS
	.comm	_PIO2,4,2                       ; @PIO2
	.comm	_SBC_IDE_PIO2_TCSOE,4,2         ; @SBC_IDE_PIO2_TCSOE
	.comm	_SBC_IDE_PIO2_TOECS,4,2         ; @SBC_IDE_PIO2_TOECS
	.comm	_PIO3,4,2                       ; @PIO3
	.comm	_SBC_IDE_PIO3_TCSOE,4,2         ; @SBC_IDE_PIO3_TCSOE
	.comm	_SBC_IDE_PIO3_TOECS,4,2         ; @SBC_IDE_PIO3_TOECS
	.comm	_PIO4,4,2                       ; @PIO4
	.comm	_SBC_IDE_PIO4_TCSOE,4,2         ; @SBC_IDE_PIO4_TCSOE
	.comm	_SBC_IDE_PIO4_TOECS,4,2         ; @SBC_IDE_PIO4_TOECS
	.comm	_MEM_STTIME2,4,2                ; @MEM_STTIME2
	.no_dead_strip	_au1xxx_set_pio_mode
.subsections_via_symbols
