	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function passthru_init
_passthru_init:                         ## @passthru_init
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_PCIOCREAD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)
	movq	_PCIOCWRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	movq	_PCIOCGETBAR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	movq	_IODEV_PIO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -80(%rbp)
	movq	_CAP_IOCTL@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_CAP_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_CAP_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-76(%rbp), %rdi
	callq	_cap_rights_init
	movq	%r12, %rdi
	callq	_vm_get_memflags
	movq	_VM_MEM_F_WIRED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_1
## %bb.3:
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movq	_pcifd@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	jns	LBB0_7
## %bb.4:
	movq	__PATH_DEVPCI@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movq	_O_RDWR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_open
	movq	%rax, %rdi
	movq	%rax, (%rbx)
	testq	%rax, %rax
	js	LBB0_5
LBB0_7:
	leaq	-76(%rbp), %rsi
	callq	_caph_rights_limit
	cmpl	$-1, %eax
	jne	LBB0_9
## %bb.8:
	movq	_EX_OSERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_errx
LBB0_9:
	movq	(%rbx), %rbx
	leaq	-60(%rbp), %r13
	movq	%r13, %rdi
	callq	_nitems
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movl	%eax, %edx
	callq	_caph_ioctls_limit
	cmpl	$-1, %eax
	jne	LBB0_11
## %bb.10:
	movq	_EX_OSERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_errx
LBB0_11:
	movq	_iofd@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	jns	LBB0_13
## %bb.12:
	movq	__PATH_DEVIO@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movq	_O_RDWR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_open
	movq	%rax, %rdi
	movq	%rax, (%rbx)
	testq	%rax, %rax
	js	LBB0_5
LBB0_13:
	leaq	-76(%rbp), %rsi
	callq	_caph_rights_limit
	cmpl	$-1, %eax
	jne	LBB0_15
## %bb.14:
	movq	_EX_OSERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_errx
LBB0_15:
	movq	(%rbx), %rbx
	leaq	-80(%rbp), %r13
	movq	%r13, %rdi
	callq	_nitems
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movl	%eax, %edx
	callq	_caph_ioctls_limit
	cmpl	$-1, %eax
	jne	LBB0_17
## %bb.16:
	movq	_EX_OSERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_errx
LBB0_17:
	movq	_memfd@GOTPCREL(%rip), %r13
	cmpq	$0, (%r13)
	jns	LBB0_20
## %bb.18:
	movq	__PATH_MEM@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_O_RDWR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_open
	movq	%rax, (%r13)
	testq	%rax, %rax
	js	LBB0_19
LBB0_20:
	movl	(%r14), %esi
	leaq	-76(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_cap_rights_clear
	movq	_CAP_MMAP_RW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_cap_rights_set
	movq	(%r13), %rdi
	movq	%rbx, %rsi
	callq	_caph_rights_limit
	cmpl	$-1, %eax
	jne	LBB0_22
## %bb.21:
	movq	_EX_OSERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_errx
LBB0_22:
	testq	%r15, %r15
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_24
## %bb.23:
	leaq	L_.str.3(%rip), %rsi
	leaq	-72(%rbp), %rdx
	leaq	-68(%rbp), %rcx
	leaq	-64(%rbp), %r8
	movq	%r15, %rdi
	callq	_sscanf
	cmpl	$3, %eax
	jne	LBB0_24
## %bb.25:
	movl	-72(%rbp), %esi
	movl	-68(%rbp), %edx
	movl	-64(%rbp), %ecx
	movq	%r12, %rdi
	callq	_vm_assign_pptdev
	testq	%rax, %rax
	je	LBB0_27
## %bb.26:
	movl	-72(%rbp), %esi
	movl	-68(%rbp), %edx
	movl	-64(%rbp), %ecx
	leaq	L_.str.5(%rip), %rdi
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_warnx
	movl	$1, %ebx
	jmp	LBB0_29
LBB0_1:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_2
LBB0_24:
	leaq	L_.str.4(%rip), %rdi
LBB0_2:
	xorl	%eax, %eax
	callq	_warnx
	movl	$1, %ebx
	jmp	LBB0_30
LBB0_5:
	movl	(%r13), %esi
	jmp	LBB0_6
LBB0_19:
	movl	(%rbx), %esi
LBB0_6:
	leaq	L_.str.1(%rip), %rdi
	callq	_warn
	movl	$1, %ebx
	jmp	LBB0_30
LBB0_27:
	movl	$1, %edi
	movl	$8, %esi
	callq	_calloc
	movq	%rax, %r15
	movq	%rax, (%rbx)
	movq	%rbx, (%rax)
	movl	-72(%rbp), %edx
	movl	-68(%rbp), %ecx
	movl	-64(%rbp), %r8d
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_cfginit
	testl	%eax, %eax
	je	LBB0_32
## %bb.28:
	movl	%eax, %ebx
LBB0_29:
	movq	%r15, %rdi
	callq	_free
	movl	-72(%rbp), %esi
	movl	-68(%rbp), %edx
	movl	-64(%rbp), %ecx
	movq	%r12, %rdi
	callq	_vm_unassign_pptdev
LBB0_30:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_33
## %bb.31:
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_32:
	xorl	%ebx, %ebx
	jmp	LBB0_30
LBB0_33:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_PCIOCREAD,4,2                  ## @PCIOCREAD
	.comm	_PCIOCWRITE,4,2                 ## @PCIOCWRITE
	.comm	_PCIOCGETBAR,4,2                ## @PCIOCGETBAR
	.comm	_IODEV_PIO,4,2                  ## @IODEV_PIO
	.comm	_CAP_IOCTL,4,2                  ## @CAP_IOCTL
	.comm	_CAP_READ,4,2                   ## @CAP_READ
	.comm	_CAP_WRITE,4,2                  ## @CAP_WRITE
	.comm	_VM_MEM_F_WIRED,4,2             ## @VM_MEM_F_WIRED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"passthru requires guest memory to be wired"

	.comm	_pcifd,8,3                      ## @pcifd
	.comm	__PATH_DEVPCI,4,2               ## @_PATH_DEVPCI
	.comm	_O_RDWR,4,2                     ## @O_RDWR
L_.str.1:                               ## @.str.1
	.asciz	"failed to open %s"

	.comm	_EX_OSERR,4,2                   ## @EX_OSERR
L_.str.2:                               ## @.str.2
	.asciz	"Unable to apply rights for sandbox"

	.comm	_iofd,8,3                       ## @iofd
	.comm	__PATH_DEVIO,4,2                ## @_PATH_DEVIO
	.comm	_memfd,8,3                      ## @memfd
	.comm	__PATH_MEM,4,2                  ## @_PATH_MEM
	.comm	_CAP_MMAP_RW,4,2                ## @CAP_MMAP_RW
L_.str.3:                               ## @.str.3
	.asciz	"%d/%d/%d"

L_.str.4:                               ## @.str.4
	.asciz	"invalid passthru options"

L_.str.5:                               ## @.str.5
	.asciz	"PCI device at %d/%d/%d is not using the ppt(4) driver"

	.no_dead_strip	_passthru_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function passthru_init
_passthru_init:                         ; @passthru_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x21, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _PCIOCREAD@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PCIOCREAD@GOTPAGEOFF]
	str	x8, [sp, #56]
Lloh5:
	ldr	w8, [x9]
Lloh6:
	adrp	x9, _PCIOCWRITE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PCIOCWRITE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #44]
Lloh9:
	adrp	x8, _PCIOCGETBAR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PCIOCGETBAR@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _IODEV_PIO@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IODEV_PIO@GOTPAGEOFF]
	str	w8, [sp, #52]
Lloh14:
	ldr	w8, [x9]
	str	w8, [sp, #24]
Lloh15:
	adrp	x23, _CAP_IOCTL@GOTPAGE
Lloh16:
	ldr	x23, [x23, _CAP_IOCTL@GOTPAGEOFF]
	ldr	w1, [x23]
Lloh17:
	adrp	x8, _CAP_READ@GOTPAGE
Lloh18:
	ldr	x8, [x8, _CAP_READ@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
Lloh20:
	adrp	x8, _CAP_WRITE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _CAP_WRITE@GOTPAGEOFF]
Lloh22:
	ldr	w3, [x8]
	add	x0, sp, #28
	bl	_cap_rights_init
	mov	x0, x19
	bl	_vm_get_memflags
Lloh23:
	adrp	x8, _VM_MEM_F_WIRED@GOTPAGE
Lloh24:
	ldr	x8, [x8, _VM_MEM_F_WIRED@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_17
; %bb.1:
Lloh26:
	adrp	x22, _pcifd@GOTPAGE
Lloh27:
	ldr	x22, [x22, _pcifd@GOTPAGEOFF]
	ldr	x0, [x22]
	tbz	x0, #63, LBB0_3
; %bb.2:
Lloh28:
	adrp	x24, __PATH_DEVPCI@GOTPAGE
Lloh29:
	ldr	x24, [x24, __PATH_DEVPCI@GOTPAGEOFF]
	ldr	w0, [x24]
Lloh30:
	adrp	x8, _O_RDWR@GOTPAGE
Lloh31:
	ldr	x8, [x8, _O_RDWR@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_open
	str	x0, [x22]
	tbnz	x0, #63, LBB0_18
LBB0_3:
	add	x1, sp, #28
	bl	_caph_rights_limit
	cmn	w0, #1
	b.ne	LBB0_5
; %bb.4:
Lloh33:
	adrp	x8, _EX_OSERR@GOTPAGE
Lloh34:
	ldr	x8, [x8, _EX_OSERR@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
Lloh36:
	adrp	x1, l_.str.2@PAGE
Lloh37:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_errx
LBB0_5:
	ldr	x22, [x22]
	add	x0, sp, #44
	bl	_nitems
	mov	x2, x0
	add	x1, sp, #44
	mov	x0, x22
	bl	_caph_ioctls_limit
	cmn	w0, #1
	b.ne	LBB0_7
; %bb.6:
Lloh38:
	adrp	x8, _EX_OSERR@GOTPAGE
Lloh39:
	ldr	x8, [x8, _EX_OSERR@GOTPAGEOFF]
Lloh40:
	ldr	w0, [x8]
Lloh41:
	adrp	x1, l_.str.2@PAGE
Lloh42:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_errx
LBB0_7:
Lloh43:
	adrp	x22, _iofd@GOTPAGE
Lloh44:
	ldr	x22, [x22, _iofd@GOTPAGEOFF]
	ldr	x0, [x22]
	tbz	x0, #63, LBB0_9
; %bb.8:
Lloh45:
	adrp	x24, __PATH_DEVIO@GOTPAGE
Lloh46:
	ldr	x24, [x24, __PATH_DEVIO@GOTPAGEOFF]
	ldr	w0, [x24]
Lloh47:
	adrp	x8, _O_RDWR@GOTPAGE
Lloh48:
	ldr	x8, [x8, _O_RDWR@GOTPAGEOFF]
Lloh49:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_open
	str	x0, [x22]
	tbnz	x0, #63, LBB0_18
LBB0_9:
	add	x1, sp, #28
	bl	_caph_rights_limit
	cmn	w0, #1
	b.ne	LBB0_11
; %bb.10:
Lloh50:
	adrp	x8, _EX_OSERR@GOTPAGE
Lloh51:
	ldr	x8, [x8, _EX_OSERR@GOTPAGEOFF]
Lloh52:
	ldr	w0, [x8]
Lloh53:
	adrp	x1, l_.str.2@PAGE
Lloh54:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_errx
LBB0_11:
	ldr	x22, [x22]
	add	x0, sp, #24
	bl	_nitems
	mov	x2, x0
	add	x1, sp, #24
	mov	x0, x22
	bl	_caph_ioctls_limit
	cmn	w0, #1
	b.ne	LBB0_13
; %bb.12:
Lloh55:
	adrp	x8, _EX_OSERR@GOTPAGE
Lloh56:
	ldr	x8, [x8, _EX_OSERR@GOTPAGEOFF]
Lloh57:
	ldr	w0, [x8]
Lloh58:
	adrp	x1, l_.str.2@PAGE
Lloh59:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_errx
LBB0_13:
Lloh60:
	adrp	x22, _memfd@GOTPAGE
Lloh61:
	ldr	x22, [x22, _memfd@GOTPAGEOFF]
	ldr	x8, [x22]
	tbz	x8, #63, LBB0_15
; %bb.14:
Lloh62:
	adrp	x24, __PATH_MEM@GOTPAGE
Lloh63:
	ldr	x24, [x24, __PATH_MEM@GOTPAGEOFF]
	ldr	w0, [x24]
Lloh64:
	adrp	x8, _O_RDWR@GOTPAGE
Lloh65:
	ldr	x8, [x8, _O_RDWR@GOTPAGEOFF]
Lloh66:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_open
	str	x0, [x22]
	tbnz	x0, #63, LBB0_18
LBB0_15:
	ldr	w1, [x23]
	add	x0, sp, #28
	bl	_cap_rights_clear
Lloh67:
	adrp	x8, _CAP_MMAP_RW@GOTPAGE
Lloh68:
	ldr	x8, [x8, _CAP_MMAP_RW@GOTPAGEOFF]
Lloh69:
	ldr	w1, [x8]
	add	x0, sp, #28
	bl	_cap_rights_set
	ldr	x0, [x22]
	add	x1, sp, #28
	bl	_caph_rights_limit
	cmn	w0, #1
	b.eq	LBB0_19
; %bb.16:
	cbnz	x21, LBB0_20
	b	LBB0_23
LBB0_17:
Lloh70:
	adrp	x0, l_.str@PAGE
Lloh71:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_24
LBB0_18:
	ldr	w1, [x24]
Lloh72:
	adrp	x0, l_.str.1@PAGE
Lloh73:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_warn
	b	LBB0_25
LBB0_19:
Lloh74:
	adrp	x8, _EX_OSERR@GOTPAGE
Lloh75:
	ldr	x8, [x8, _EX_OSERR@GOTPAGEOFF]
Lloh76:
	ldr	w0, [x8]
Lloh77:
	adrp	x1, l_.str.2@PAGE
Lloh78:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_errx
	cbz	x21, LBB0_23
LBB0_20:
Lloh79:
	adrp	x1, l_.str.3@PAGE
Lloh80:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x2, sp, #40
	add	x3, sp, #36
	add	x4, sp, #32
	mov	x0, x21
	bl	_sscanf
	cmp	w0, #3
	b.ne	LBB0_23
; %bb.21:
	ldp	w2, w1, [sp, #36]
	ldr	w3, [sp, #32]
	mov	x0, x19
	bl	_vm_assign_pptdev
	cbz	x0, LBB0_28
; %bb.22:
	ldp	w9, w8, [sp, #36]
	ldr	w10, [sp, #32]
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
Lloh81:
	adrp	x0, l_.str.5@PAGE
Lloh82:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_warnx
	mov	x21, #0
	mov	w20, #1
	b	LBB0_29
LBB0_23:
Lloh83:
	adrp	x0, l_.str.4@PAGE
Lloh84:
	add	x0, x0, l_.str.4@PAGEOFF
LBB0_24:
	bl	_warnx
LBB0_25:
	mov	w20, #1
LBB0_26:
	ldr	x8, [sp, #56]
Lloh85:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh86:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh87:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_30
; %bb.27:
	mov	x0, x20
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_28:
	mov	w0, #1
	mov	w1, #8
	bl	_calloc
	mov	x21, x0
	str	x0, [x20]
	str	x20, [x0]
	ldp	w3, w2, [sp, #36]
	ldr	w4, [sp, #32]
	mov	x0, x19
	mov	x1, x20
	bl	_cfginit
	mov	x20, x0
	cbz	w0, LBB0_26
LBB0_29:
	mov	x0, x21
	bl	_free
	ldp	w2, w1, [sp, #36]
	ldr	w3, [sp, #32]
	mov	x0, x19
	bl	_vm_unassign_pptdev
	b	LBB0_26
LBB0_30:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGot	Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpAdd	Lloh70, Lloh71
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpAdd	Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpAdd	Lloh79, Lloh80
	.loh AdrpAdd	Lloh81, Lloh82
	.loh AdrpAdd	Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.cfi_endproc
                                        ; -- End function
	.comm	_PCIOCREAD,4,2                  ; @PCIOCREAD
	.comm	_PCIOCWRITE,4,2                 ; @PCIOCWRITE
	.comm	_PCIOCGETBAR,4,2                ; @PCIOCGETBAR
	.comm	_IODEV_PIO,4,2                  ; @IODEV_PIO
	.comm	_CAP_IOCTL,4,2                  ; @CAP_IOCTL
	.comm	_CAP_READ,4,2                   ; @CAP_READ
	.comm	_CAP_WRITE,4,2                  ; @CAP_WRITE
	.comm	_VM_MEM_F_WIRED,4,2             ; @VM_MEM_F_WIRED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"passthru requires guest memory to be wired"

	.comm	_pcifd,8,3                      ; @pcifd
	.comm	__PATH_DEVPCI,4,2               ; @_PATH_DEVPCI
	.comm	_O_RDWR,4,2                     ; @O_RDWR
l_.str.1:                               ; @.str.1
	.asciz	"failed to open %s"

	.comm	_EX_OSERR,4,2                   ; @EX_OSERR
l_.str.2:                               ; @.str.2
	.asciz	"Unable to apply rights for sandbox"

	.comm	_iofd,8,3                       ; @iofd
	.comm	__PATH_DEVIO,4,2                ; @_PATH_DEVIO
	.comm	_memfd,8,3                      ; @memfd
	.comm	__PATH_MEM,4,2                  ; @_PATH_MEM
	.comm	_CAP_MMAP_RW,4,2                ; @CAP_MMAP_RW
l_.str.3:                               ; @.str.3
	.asciz	"%d/%d/%d"

l_.str.4:                               ; @.str.4
	.asciz	"invalid passthru options"

l_.str.5:                               ; @.str.5
	.asciz	"PCI device at %d/%d/%d is not using the ppt(4) driver"

	.no_dead_strip	_passthru_init
.subsections_via_symbols
