	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvkm_pci_oneinit
_nvkm_pci_oneinit:                      ## @nvkm_pci_oneinit
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	callq	_nvkm_pci
	movq	%rax, %rbx
	movq	8(%rax), %r14
	movq	%r14, %rdi
	callq	_pci_is_pcie
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_nvkm_pcie_oneinit
	testl	%eax, %eax
	jne	LBB0_4
LBB0_2:
	movl	(%r14), %edi
	movq	_nvkm_pci_intr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rcx
	movq	%rbx, %r8
	callq	_request_irq
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movl	(%r14), %eax
	movl	%eax, (%rbx)
	xorl	%eax, %eax
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_nvkm_pci_intr,4,2              ## @nvkm_pci_intr
	.comm	_IRQF_SHARED,4,2                ## @IRQF_SHARED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"nvkm"

	.no_dead_strip	_nvkm_pci_oneinit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvkm_pci_oneinit
_nvkm_pci_oneinit:                      ; @nvkm_pci_oneinit
	.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
	bl	_nvkm_pci
	mov	x19, x0
	ldr	x20, [x0, #8]
	mov	x0, x20
	bl	_pci_is_pcie
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_nvkm_pcie_oneinit
	cbnz	w0, LBB0_4
LBB0_2:
	ldr	w0, [x20]
Lloh0:
	adrp	x8, _nvkm_pci_intr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _nvkm_pci_intr@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _IRQF_SHARED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IRQF_SHARED@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x3, l_.str@PAGE
Lloh7:
	add	x3, x3, l_.str@PAGEOFF
	mov	x4, x19
	bl	_request_irq
	cbnz	w0, LBB0_4
; %bb.3:
	ldr	w8, [x20]
	str	w8, [x19]
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_nvkm_pci_intr,4,2              ; @nvkm_pci_intr
	.comm	_IRQF_SHARED,4,2                ; @IRQF_SHARED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"nvkm"

	.no_dead_strip	_nvkm_pci_oneinit
.subsections_via_symbols
