	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tegra186_gpio_get_port
_tegra186_gpio_get_port:                ## @tegra186_gpio_get_port
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movl	(%rax), %ecx
	testq	%rcx, %rcx
	je	LBB0_6
## %bb.1:
	movq	8(%rax), %rax
	movl	(%rsi), %r8d
	xorl	%edi, %edi
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	addq	$4, %rax
	decq	%rcx
	je	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%edi, %edx
	movl	(%rax), %edi
	addl	%edx, %edi
	movl	%r8d, %r9d
	subl	%edx, %r9d
	jb	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%edi, %r8d
	jae	LBB0_5
## %bb.4:
	movl	%r9d, (%rsi)
	popq	%rbp
	retq
LBB0_6:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_tegra186_gpio_get_port
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tegra186_gpio_get_port
_tegra186_gpio_get_port:                ; @tegra186_gpio_get_port
	.cfi_startproc
; %bb.0:
	ldr	x9, [x0]
	ldr	w8, [x9]
	cbz	w8, LBB0_6
; %bb.1:
	mov	w10, #0
	ldr	x0, [x9, #8]
	ldr	w9, [x1]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x0, x0, #4
	mov	x10, x11
	subs	x8, x8, #1
	b.eq	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x0]
	add	w11, w11, w10
	subs	w10, w9, w10
	b.lo	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w9, w11
	b.hs	LBB0_2
; %bb.5:
	str	w10, [x1]
	ret
LBB0_6:
	mov	x0, #0
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_tegra186_gpio_get_port
.subsections_via_symbols
