	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mt2701_spec_pinmux_set
_mt2701_spec_pinmux_set:                ## @mt2701_spec_pinmux_set
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	_mt2701_spec_pinmux@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	je	LBB0_1
## %bb.4:
	movq	(%r12), %rdx
	movl	%eax, %esi
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%ebx, (%rdx)
	je	LBB0_2
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	incq	%rcx
	addq	$12, %rdx
	cmpq	%rcx, %rsi
	jne	LBB0_5
	jmp	LBB0_7
LBB0_1:
	xorl	%ecx, %ecx
LBB0_2:
	cmpl	%eax, %ecx
	jne	LBB0_3
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	(%r12), %rax
	movl	%ecx, %ecx
	shlq	$2, %rcx
	leaq	(%rcx,%rcx,2), %rbx
	movl	8(%rax,%rbx), %edi
	callq	_BIT
	xorl	%ecx, %ecx
	cmpl	$8, %r15d
	cmovbl	%eax, %ecx
	movq	(%r12), %rdx
	movl	4(%rdx,%rbx), %esi
	movq	%r14, %rdi
	movl	%eax, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_regmap_update_bits             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_mt2701_spec_pinmux,8,3         ## @mt2701_spec_pinmux
	.no_dead_strip	_mt2701_spec_pinmux_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mt2701_spec_pinmux_set
_mt2701_spec_pinmux_set:                ; @mt2701_spec_pinmux_set
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x22, _mt2701_spec_pinmux@GOTPAGE
Lloh1:
	ldr	x22, [x22, _mt2701_spec_pinmux@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	cbz	w0, LBB0_4
; %bb.1:
	mov	x23, #0
	ldr	x8, [x22]
	mov	w9, w0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x8]
	cmp	w10, w21
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x23, x23, #1
	add	x8, x8, #12
	cmp	x9, x23
	b.ne	LBB0_2
	b	LBB0_6
LBB0_4:
	mov	w23, #0
LBB0_5:
	cmp	w23, w0
	b.ne	LBB0_7
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_7:
	ldr	x8, [x22]
	mov	w21, #12
	umaddl	x8, w23, w21, x8
	ldr	w0, [x8, #8]
	bl	_BIT
	mov	x2, x0
	cmp	w20, #8
	csel	w3, w0, wzr, lo
	ldr	x8, [x22]
	umaddl	x8, w23, w21, x8
	ldr	w1, [x8, #4]
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_regmap_update_bits
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_mt2701_spec_pinmux,8,3         ; @mt2701_spec_pinmux
	.no_dead_strip	_mt2701_spec_pinmux_set
.subsections_via_symbols
