	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function passthru_read
_passthru_read:                         ## @passthru_read
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r14d
	movq	%r8, %r12
	movl	%ecx, %r13d
	movq	%rdx, %rbx
	movq	8(%rdx), %r15
	movq	%rdx, %rdi
	callq	_pci_msix_table_bar
	cmpl	%r13d, %eax
	jne	LBB0_1
## %bb.2:
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	%r14d, %edx
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_msix_table_read                ## TAILCALL
LBB0_1:
	movq	(%rbx), %rax
	movslq	%r13d, %rbx
	movq	(%rax,%rbx,8), %rax
	movq	_PCIBAR_IO@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_assert
	leaq	-72(%rbp), %r13
	movq	%r13, %rdi
	movl	$32, %esi
	callq	_bzero
	movq	_IODEV_PIO_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movq	(%r15), %rax
	addq	(%rax,%rbx,8), %r12
	movq	%r12, -56(%rbp)
	movl	%r14d, -72(%rbp)
	movq	$0, -64(%rbp)
	movq	_iofd@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_IODEV_PIO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdx
	callq	_ioctl
	movq	-64(%rbp), %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCIBAR_IO,8,3                  ## @PCIBAR_IO
	.comm	_IODEV_PIO_READ,4,2             ## @IODEV_PIO_READ
	.comm	_iofd,4,2                       ## @iofd
	.comm	_IODEV_PIO,4,2                  ## @IODEV_PIO
	.no_dead_strip	_passthru_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function passthru_read
_passthru_read:                         ; @passthru_read
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x5
	mov	x20, x4
	mov	x22, x3
	mov	x23, x2
	ldr	x21, [x2, #8]
	mov	x0, x2
	bl	_pci_msix_table_bar
	cmp	w0, w22
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_msix_table_read
LBB0_2:
	ldr	x8, [x23]
	sbfiz	x22, x22, #3, #32
	ldr	x8, [x8, x22]
Lloh0:
	adrp	x9, _PCIBAR_IO@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PCIBAR_IO@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_assert
	mov	x0, sp
	mov	w1, #32
	bl	_bzero
Lloh3:
	adrp	x8, _IODEV_PIO_READ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IODEV_PIO_READ@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [sp, #24]
	ldr	x8, [x21]
	ldr	x8, [x8, x22]
	add	x8, x8, x20
	str	w19, [sp]
	stp	xzr, x8, [sp, #8]
Lloh6:
	adrp	x8, _iofd@GOTPAGE
Lloh7:
	ldr	x8, [x8, _iofd@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _IODEV_PIO@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IODEV_PIO@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x2, sp
	bl	_ioctl
	ldr	x0, [sp, #8]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PCIBAR_IO,8,3                  ; @PCIBAR_IO
	.comm	_IODEV_PIO_READ,4,2             ; @IODEV_PIO_READ
	.comm	_iofd,4,2                       ; @iofd
	.comm	_IODEV_PIO,4,2                  ; @IODEV_PIO
	.no_dead_strip	_passthru_read
.subsections_via_symbols
