	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sis_100_set_piomode
_sis_100_set_piomode:                   ## @sis_100_set_piomode
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	(%rdi), %rax
	movl	(%rax), %edi
	callq	_to_pci_dev
	movq	%rax, %r15
	movq	%r13, %rdi
	callq	_sis_old_port_base
	movl	%eax, %r12d
	movslq	(%r13), %rbx
	movq	_XFER_PIO_0@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	subq	%rax, %rbx
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_sis_set_fifo
	leaq	l___const.sis_100_set_piomode.actrec(%rip), %rax
	movl	(%rax,%rbx,4), %edx
	movq	%r15, %rdi
	movl	%r12d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pci_write_config_byte          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_XFER_PIO_0,4,2                 ## @XFER_PIO_0
	.section	__TEXT,__const
	.p2align	4                               ## @__const.sis_100_set_piomode.actrec
l___const.sis_100_set_piomode.actrec:
	.long	0                               ## 0x0
	.long	103                             ## 0x67
	.long	68                              ## 0x44
	.long	51                              ## 0x33
	.long	49                              ## 0x31

	.no_dead_strip	_sis_100_set_piomode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sis_100_set_piomode
_sis_100_set_piomode:                   ; @sis_100_set_piomode
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0]
	ldr	w0, [x8]
	bl	_to_pci_dev
	mov	x21, x0
	mov	x0, x19
	bl	_sis_old_port_base
	mov	x22, x0
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _XFER_PIO_0@GOTPAGE
Lloh1:
	ldr	x9, [x9, _XFER_PIO_0@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	sub	w23, w8, w9
	mov	x0, x20
	mov	x1, x19
	bl	_sis_set_fifo
Lloh3:
	adrp	x8, l___const.sis_100_set_piomode.actrec@PAGE
Lloh4:
	add	x8, x8, l___const.sis_100_set_piomode.actrec@PAGEOFF
	ldr	w2, [x8, w23, sxtw #2]
	mov	x0, x21
	mov	x1, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_pci_write_config_byte
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_XFER_PIO_0,4,2                 ; @XFER_PIO_0
	.section	__TEXT,__const
	.p2align	2                               ; @__const.sis_100_set_piomode.actrec
l___const.sis_100_set_piomode.actrec:
	.long	0                               ; 0x0
	.long	103                             ; 0x67
	.long	68                              ; 0x44
	.long	51                              ; 0x33
	.long	49                              ; 0x31

	.no_dead_strip	_sis_100_set_piomode
.subsections_via_symbols
