	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function saa7164_bus_setup
LCPI0_0:
	.quad	24                              ## 0x18
	.quad	16                              ## 0x10
LCPI0_1:
	.quad	8                               ## 0x8
	.quad	32                              ## 0x20
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_saa7164_bus_setup
	.p2align	4, 0x90
_saa7164_bus_setup:                     ## @saa7164_bus_setup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	addq	$96, %rdi
	callq	_mutex_init
	movq	_TYPE_BUS_PCIe@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 92(%rbx)
	movq	_SAA_DEVICE_MAXREQUESTSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 88(%rbx)
	movq	16(%rbx), %rax
	movslq	8(%rbx), %rcx
	addq	%rax, %rcx
	movq	%rcx, 80(%rbx)
	movq	_SAA_DEVICE_BUFFERBLOCKSIZE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 72(%rbx)
	movslq	4(%rbx), %rdx
	addq	%rax, %rdx
	movq	%rdx, 64(%rbx)
	movq	%rcx, 56(%rbx)
	movslq	(%rbx), %rax
	movq	%rax, %xmm0
	pshufd	$68, %xmm0, %xmm0               ## xmm0 = xmm0[0,1,0,1]
	movdqa	LCPI0_0(%rip), %xmm1            ## xmm1 = [24,16]
	paddq	%xmm0, %xmm1
	movdqu	%xmm1, 40(%rbx)
	paddq	LCPI0_1(%rip), %xmm0
	movdqu	%xmm0, 24(%rbx)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TYPE_BUS_PCIe,4,2              ## @TYPE_BUS_PCIe
	.comm	_SAA_DEVICE_MAXREQUESTSIZE,4,2  ## @SAA_DEVICE_MAXREQUESTSIZE
	.comm	_SAA_DEVICE_BUFFERBLOCKSIZE,8,3 ## @SAA_DEVICE_BUFFERBLOCKSIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function saa7164_bus_setup
lCPI0_0:
	.quad	24                              ; 0x18
	.quad	16                              ; 0x10
lCPI0_1:
	.quad	8                               ; 0x8
	.quad	32                              ; 0x20
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_saa7164_bus_setup
	.p2align	2
_saa7164_bus_setup:                     ; @saa7164_bus_setup
	.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
	add	x0, x0, #96
	bl	_mutex_init
Lloh0:
	adrp	x8, _TYPE_BUS_PCIe@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TYPE_BUS_PCIe@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _SAA_DEVICE_MAXREQUESTSIZE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SAA_DEVICE_MAXREQUESTSIZE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #88]
	ldr	x8, [x19, #16]
	ldpsw	x10, x9, [x19, #4]
	add	x9, x8, x9
	ldrsw	x11, [x19]
	add	x8, x8, x10
Lloh6:
	adrp	x10, _SAA_DEVICE_BUFFERBLOCKSIZE@GOTPAGE
Lloh7:
	ldr	x10, [x10, _SAA_DEVICE_BUFFERBLOCKSIZE@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	stp	x10, x9, [x19, #72]
	stp	x10, x8, [x19, #56]
	dup.2d	v0, x11
Lloh9:
	adrp	x8, lCPI0_0@PAGE
Lloh10:
	ldr	q1, [x8, lCPI0_0@PAGEOFF]
	add.2d	v1, v0, v1
	stur	q1, [x19, #40]
Lloh11:
	adrp	x8, lCPI0_1@PAGE
Lloh12:
	ldr	q1, [x8, lCPI0_1@PAGEOFF]
	add.2d	v0, v0, v1
	stur	q0, [x19, #24]
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdr	Lloh11, Lloh12
	.loh AdrpAdrp	Lloh9, Lloh11
	.loh AdrpLdr	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TYPE_BUS_PCIe,4,2              ; @TYPE_BUS_PCIe
	.comm	_SAA_DEVICE_MAXREQUESTSIZE,4,2  ; @SAA_DEVICE_MAXREQUESTSIZE
	.comm	_SAA_DEVICE_BUFFERBLOCKSIZE,8,3 ; @SAA_DEVICE_BUFFERBLOCKSIZE
.subsections_via_symbols
