	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gpio_setup_data_reg
_gpio_setup_data_reg:                   ## @gpio_setup_data_reg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdi), %rax
	movq	(%rax), %rdx
	movq	(%rdx), %rax
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	je	LBB0_6
## %bb.1:
	movq	(%rdi), %r8
	movl	%esi, %r9d
	movq	8(%rdx), %rdx
	movq	(%rdx,%r9,8), %rdi
	xorl	%r10d, %r10d
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	movq	8(%rax), %rdx
	movl	%ecx, %esi
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_3:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	%rdi, (%rdx,%rcx,8)
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=2
	incq	%rcx
	cmpq	%rcx, %rsi
	jne	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	incl	%r10d
	movl	16(%rax), %ecx
	addq	$16, %rax
	testl	%ecx, %ecx
	jne	LBB0_2
LBB0_6:
	xorl	%eax, %eax
	popq	%rbp
	jmp	_BUG                            ## TAILCALL
LBB0_7:
	movl	%r10d, (%r8,%r9,8)
	movl	%ecx, 4(%r8,%r9,8)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_gpio_setup_data_reg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gpio_setup_data_reg
_gpio_setup_data_reg:                   ; @gpio_setup_data_reg
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #8]
	ldr	x12, [x8]
	ldr	x8, [x12]
	ldr	w13, [x8]
	cbz	w13, LBB0_6
; %bb.1:
	mov	w9, #0
	ldr	x10, [x0]
	mov	w11, w1
	ldr	x12, [x12, #8]
	ldr	x12, [x12, x11, lsl #3]
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_3 Depth 2
	mov	x14, #0
	ldr	x15, [x8, #8]
	mov	w13, w13
LBB0_3:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x16, [x15, x14, lsl #3]
	cmp	x16, x12
	b.eq	LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=2
	add	x14, x14, #1
	cmp	x13, x14
	b.ne	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w9, w9, #1
	ldr	w13, [x8, #16]!
	cbnz	w13, LBB0_2
LBB0_6:
	b	_BUG
LBB0_7:
	add	x8, x10, x11, lsl #3
	stp	w9, w14, [x8]
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_gpio_setup_data_reg
.subsections_via_symbols
