	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function artop6260_load_piomode
_artop6260_load_piomode:                ## @artop6260_load_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	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movl	(%rax), %edi
	callq	_to_pci_dev
	movl	(%r15), %ecx
	movl	(%rbx), %edx
	leal	(%rcx,%rdx,2), %esi
	addl	$64, %esi
	movq	_clock@GOTPCREL(%rip), %rcx
	imulq	$100, (%rcx), %rcx
	movl	%r14d, %edx
	leaq	l___const.artop6260_load_piomode.timing(%rip), %rdi
	addq	%rcx, %rdi
	leaq	(%rdx,%rdx,4), %rcx
	movl	16(%rdi,%rcx,4), %edx
	movl	%edx, -32(%rbp)
	movups	(%rdi,%rcx,4), %xmm0
	movaps	%xmm0, -48(%rbp)
	movl	-32(%rbp), %ecx
	movl	%ecx, 16(%rsp)
	movaps	-48(%rbp), %xmm0
	movups	%xmm0, (%rsp)
	movq	%rax, %rdi
	callq	_pci_write_config_byte
	addq	$56, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @__const.artop6260_load_piomode.timing
l___const.artop6260_load_piomode.timing:
	.long	0                               ## 0x0
	.long	10                              ## 0xa
	.long	8                               ## 0x8
	.long	51                              ## 0x33
	.long	49                              ## 0x31
	.space	20
	.space	20
	.space	20
	.space	20
	.long	112                             ## 0x70
	.long	122                             ## 0x7a
	.long	120                             ## 0x78
	.long	67                              ## 0x43
	.long	65                              ## 0x41
	.space	20
	.space	20
	.space	20
	.space	20

	.comm	_clock,8,3                      ## @clock
	.no_dead_strip	_artop6260_load_piomode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function artop6260_load_piomode
_artop6260_load_piomode:                ; @artop6260_load_piomode
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x8, [x0, #8]
	ldr	w0, [x8]
	bl	_to_pci_dev
	ldr	w8, [x20]
	ldr	w9, [x21]
	add	w8, w8, w9, lsl #1
Lloh0:
	adrp	x9, _clock@GOTPAGE
Lloh1:
	ldr	x9, [x9, _clock@GOTPAGEOFF]
	add	w1, w8, #64
Lloh2:
	ldr	x8, [x9]
	mov	w9, #100
Lloh3:
	adrp	x10, l___const.artop6260_load_piomode.timing@PAGE
Lloh4:
	add	x10, x10, l___const.artop6260_load_piomode.timing@PAGEOFF
	madd	x8, x8, x9, x10
	mov	w9, #20
	umaddl	x8, w19, w9, x8
	ldr	q0, [x8]
	str	q0, [sp]
	ldr	w8, [x8, #16]
	str	w8, [sp, #16]
	mov	x2, sp
	bl	_pci_write_config_byte
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @__const.artop6260_load_piomode.timing
l___const.artop6260_load_piomode.timing:
	.long	0                               ; 0x0
	.long	10                              ; 0xa
	.long	8                               ; 0x8
	.long	51                              ; 0x33
	.long	49                              ; 0x31
	.space	20
	.space	20
	.space	20
	.space	20
	.long	112                             ; 0x70
	.long	122                             ; 0x7a
	.long	120                             ; 0x78
	.long	67                              ; 0x43
	.long	65                              ; 0x41
	.space	20
	.space	20
	.space	20
	.space	20

	.comm	_clock,8,3                      ; @clock
	.no_dead_strip	_artop6260_load_piomode
.subsections_via_symbols
