	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nvkm_sw_chan_ctor              ## -- Begin function nvkm_sw_chan_ctor
	.p2align	4, 0x90
_nvkm_sw_chan_ctor:                     ## @nvkm_sw_chan_ctor
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %rbx
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r12
	leaq	32(%r8), %rdx
	movq	_nvkm_sw_chan@GOTPCREL(%rip), %rdi
	movq	%rcx, %rsi
	callq	_nvkm_object_ctor
	movq	%r12, 24(%rbx)
	movq	%r15, 16(%rbx)
	movq	%r14, 8(%rbx)
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	leaq	4(%rbx), %rdi
	leaq	4(%r15), %rsi
	callq	_list_add
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	movq	_nvkm_sw_chan_event@GOTPCREL(%rip), %rdi
	movl	$1, %esi
	movl	$1, %edx
	movq	%rbx, %rcx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nvkm_event_init                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_nvkm_sw_chan,4,2               ## @nvkm_sw_chan
	.comm	_nvkm_sw_chan_event,4,2         ## @nvkm_sw_chan_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nvkm_sw_chan_ctor              ; -- Begin function nvkm_sw_chan_ctor
	.p2align	2
_nvkm_sw_chan_ctor:                     ; @nvkm_sw_chan_ctor
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x4
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	add	x2, x4, #32
Lloh0:
	adrp	x0, _nvkm_sw_chan@GOTPAGE
Lloh1:
	ldr	x0, [x0, _nvkm_sw_chan@GOTPAGEOFF]
	mov	x1, x3
	bl	_nvkm_object_ctor
	stp	x21, x22, [x19, #16]
	str	x20, [x19, #8]
	mov	x0, x21
	bl	_spin_lock_irqsave
	add	x0, x19, #4
	add	x1, x21, #4
	bl	_list_add
	mov	x0, x21
	bl	_spin_unlock_irqrestore
Lloh2:
	adrp	x0, _nvkm_sw_chan_event@GOTPAGE
Lloh3:
	ldr	x0, [x0, _nvkm_sw_chan_event@GOTPAGEOFF]
	mov	w1, #1
	mov	w2, #1
	mov	x3, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_nvkm_event_init
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_nvkm_sw_chan,4,2               ; @nvkm_sw_chan
	.comm	_nvkm_sw_chan_event,4,2         ; @nvkm_sw_chan_event
.subsections_via_symbols
