	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nvkm_sw_chan_mthd              ## -- Begin function nvkm_sw_chan_mthd
	.p2align	4, 0x90
_nvkm_sw_chan_mthd:                     ## @nvkm_sw_chan_mthd
	.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
	testl	%edx, %edx
	je	LBB0_1
## %bb.2:
	cmpl	$1280, %edx                     ## imm = 0x500
	jne	LBB0_4
## %bb.3:
	addq	$8, %rdi
	movl	$1, %ebx
	movl	$1, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_nvkm_event_send
	jmp	LBB0_6
LBB0_1:
	movl	$1, %ebx
	jmp	LBB0_6
LBB0_4:
	movq	(%rdi), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_5:
	xorl	%ebx, %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nvkm_sw_chan_mthd              ; -- Begin function nvkm_sw_chan_mthd
	.p2align	2
_nvkm_sw_chan_mthd:                     ; @nvkm_sw_chan_mthd
	.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
	cbz	w2, LBB0_3
; %bb.1:
	cmp	w2, #1280
	b.ne	LBB0_4
; %bb.2:
	add	x0, x0, #8
	mov	w19, #1
	mov	w1, #1
	mov	w2, #0
	mov	x3, #0
	mov	w4, #0
	bl	_nvkm_event_send
	b	LBB0_7
LBB0_3:
	mov	w19, #1
	b	LBB0_7
LBB0_4:
	ldr	x8, [x0]
	ldr	x4, [x8]
	cbz	x4, LBB0_6
; %bb.5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	br	x4
LBB0_6:
	mov	w19, #0
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
