	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gf119_gpio_reset               ## -- Begin function gf119_gpio_reset
	.p2align	4, 0x90
_gf119_gpio_reset:                      ## @gf119_gpio_reset
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	(%rax), %r13
	leaq	-80(%rbp), %rcx
	leaq	-72(%rbp), %r8
	movq	%r13, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_dcb_gpio_entry
	testl	%eax, %eax
	je	LBB0_8
## %bb.1:
	movl	$1, %ebx
	movq	_DCB_GPIO_UNUSED@GOTPCREL(%rip), %r15
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	%ebx, %edx
	leaq	-80(%rbp), %rcx
	leaq	-72(%rbp), %r8
	callq	_dcb_gpio_entry
	incl	%ebx
	testl	%eax, %eax
	je	LBB0_8
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_nvbios_rd32
                                        ## kill: def $eax killed $eax def $rax
	movzbl	%ah, %edx
	movq	(%r15), %rcx
	cmpq	%rdx, %rcx
	je	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	-56(%rbp), %rcx                 ## 8-byte Folded Reload
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	-56(%rbp), %rdx                 ## 8-byte Folded Reload
	jne	LBB0_7
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %r14d
	andl	$63, %r14d
	movl	%eax, %r8d
	shrl	$7, %r8d
	andl	$1, %r8d
	movl	%eax, %ecx
	shrl	$16, %ecx
	movzbl	%cl, %r15d
	shrl	$24, %eax
	andl	$31, %eax
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	movq	%rax, %r12
	movq	%r14, %rcx
	callq	_nvkm_gpio_set
	leal	54800(,%r14,4), %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	$255, %edx
	movq	%r15, %rcx
	movq	_DCB_GPIO_UNUSED@GOTPCREL(%rip), %r15
	callq	_nvkm_mask
	testl	%r12d, %r12d
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	leal	55100(,%r12,4), %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	$255, %edx
	movq	%r14, %rcx
	callq	_nvkm_mask
	jmp	LBB0_7
LBB0_8:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DCB_GPIO_UNUSED,8,3            ## @DCB_GPIO_UNUSED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gf119_gpio_reset               ; -- Begin function gf119_gpio_reset
	.p2align	2
_gf119_gpio_reset:                      ; @gf119_gpio_reset
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x20, x0
	ldr	x21, [x0]
	ldr	x22, [x21]
	add	x3, sp, #8
	mov	x4, sp
	mov	x0, x22
	mov	w1, #0
	mov	w2, #0
	bl	_dcb_gpio_entry
	cbz	w0, LBB0_7
; %bb.1:
	mov	x1, x0
	mov	w23, #1
Lloh0:
	adrp	x26, _DCB_GPIO_UNUSED@GOTPAGE
Lloh1:
	ldr	x26, [x26, _DCB_GPIO_UNUSED@GOTPAGEOFF]
	mov	w27, #54800
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x3, sp, #8
	mov	x4, sp
	mov	x0, x22
	mov	w1, #0
	mov	x2, x23
	bl	_dcb_gpio_entry
	mov	x1, x0
	add	w23, w23, #1
	cbz	w0, LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_nvbios_rd32
	ubfx	w2, w0, #8, #8
	ldr	x8, [x26]
	cmp	x8, x2
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	x8, x19
	ccmp	x2, x19, #4, ne
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ubfx	w4, w0, #7, #1
	and	w24, w0, #0x3f
	ubfx	w25, w0, #16, #8
	ubfx	w28, w0, #24, #5
	mov	x0, x20
	mov	w1, #0
	mov	x3, x24
	bl	_nvkm_gpio_set
	add	w1, w27, w24, lsl #2
	mov	x0, x21
	mov	w2, #255
	mov	x3, x25
	bl	_nvkm_mask
	cbz	w28, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w8, #55100
	add	w1, w8, w28, lsl #2
	mov	x0, x21
	mov	w2, #255
	mov	x3, x24
	bl	_nvkm_mask
	b	LBB0_2
LBB0_7:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_DCB_GPIO_UNUSED,8,3            ; @DCB_GPIO_UNUSED
.subsections_via_symbols
