	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvkm_gpio_intr
_nvkm_gpio_intr:                        ## @nvkm_gpio_intr
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	callq	_nvkm_gpio
	movq	%rax, %r14
	movq	8(%rax), %rax
	leaq	-64(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	movq	%r14, %rdi
	callq	*8(%rax)
	movq	-64(%rbp), %rdx
	movq	-56(%rbp), %rax
	movq	%rax, %rcx
	orq	%rdx, %rcx
	je	LBB0_8
## %bb.1:
	xorl	%ebx, %ebx
	movq	_NVKM_GPIO_HI@GOTPCREL(%rip), %r12
	movq	_NVKM_GPIO_LO@GOTPCREL(%rip), %r13
	leaq	-48(%rbp), %r15
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	orl	%ecx, %esi
	movl	%esi, -48(%rbp)
	movq	%r14, %rdi
	movq	%rbx, %rdx
	movq	%r15, %rcx
	movl	$4, %r8d
	callq	_nvkm_event_send
	incq	%rbx
	movq	-64(%rbp), %rdx
	movq	-56(%rbp), %rax
	movq	%rax, %rcx
	orq	%rdx, %rcx
	je	LBB0_8
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rcx
	cmpq	(%rcx), %rbx
	jge	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %esi
	movl	%ebx, %ecx
	shll	%cl, %esi
	movslq	%esi, %rdi
	xorl	%esi, %esi
	movl	$0, %ecx
	testq	%rdi, %rdx
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r12), %ecx
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	testq	%rdi, %rax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r13), %esi
	jmp	LBB0_7
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NVKM_GPIO_HI,4,2               ## @NVKM_GPIO_HI
	.comm	_NVKM_GPIO_LO,4,2               ## @NVKM_GPIO_LO
	.no_dead_strip	_nvkm_gpio_intr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvkm_gpio_intr
_nvkm_gpio_intr:                        ; @nvkm_gpio_intr
	.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
	bl	_nvkm_gpio
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	x8, [x8, #8]
	add	x1, sp, #24
	add	x2, sp, #16
	blr	x8
	ldp	x8, x9, [sp, #16]
	orr	x10, x8, x9
	cbz	x10, LBB0_4
; %bb.1:
	mov	x20, #0
Lloh0:
	adrp	x21, _NVKM_GPIO_HI@GOTPAGE
Lloh1:
	ldr	x21, [x21, _NVKM_GPIO_HI@GOTPAGEOFF]
	mov	w22, #1
Lloh2:
	adrp	x23, _NVKM_GPIO_LO@GOTPAGE
Lloh3:
	ldr	x23, [x23, _NVKM_GPIO_LO@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x19, #8]
	ldr	x10, [x10]
	cmp	x20, x10
	b.ge	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w10, [x21]
	lsl	w11, w22, w20
	sxtw	x11, w11
	tst	x9, x11
	csel	w9, wzr, w10, eq
	ldr	w10, [x23]
	tst	x8, x11
	csel	w8, wzr, w10, eq
	orr	w1, w8, w9
	str	w1, [sp, #8]
	add	x3, sp, #8
	mov	x0, x19
	mov	x2, x20
	mov	w4, #4
	bl	_nvkm_event_send
	add	x20, x20, #1
	ldp	x8, x9, [sp, #16]
	orr	x10, x8, x9
	cbnz	x10, LBB0_2
LBB0_4:
	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 AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_NVKM_GPIO_HI,4,2               ; @NVKM_GPIO_HI
	.comm	_NVKM_GPIO_LO,4,2               ; @NVKM_GPIO_LO
	.no_dead_strip	_nvkm_gpio_intr
.subsections_via_symbols
