	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ns2_mux_log_init
_ns2_mux_log_init:                      ## @ns2_mux_log_init
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	8(%rdi), %edi
	movq	_NS2_NUM_IOMUX@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$40, %edx
	callq	_devm_kcalloc
	movq	%rax, (%r14)
	testq	%rax, %rax
	je	LBB0_12
## %bb.1:
	cmpl	$0, (%r15)
	je	LBB0_2
## %bb.3:
	xorl	%ecx, %ecx
	movq	%rax, %rdx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	$0, (%rdx)
	incq	%rcx
	movl	(%r15), %edi
	addq	$40, %rdx
	cmpq	%rdi, %rcx
	jb	LBB0_4
	jmp	LBB0_5
LBB0_12:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	subl	(%rax), %ecx
	jmp	LBB0_13
LBB0_2:
	xorl	%edi, %edi
LBB0_5:
	movq	_NS2_PIN_MUX_BASE0@GOTPCREL(%rip), %r8
	movq	(%r8), %r10
	movq	%r10, 32(%rax)
	movl	$31, 8(%rax)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rax)
	movq	_NS2_NUM_PWM_MUX@GOTPCREL(%rip), %r9
	movl	(%r9), %edx
	movl	%edi, %ecx
	subl	%edx, %ecx
	cmpl	$2, %ecx
	jb	LBB0_8
## %bb.6:
	movq	%rax, %rcx
	addq	$72, %rcx
	movl	$30, %r14d
	movl	$2, %ebx
	movq	_NS2_MUX_PAD_FUNC1_OFFSET@GOTPCREL(%rip), %r11
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r10, (%rcx)
	movq	(%r11), %rsi
	movq	%rsi, -8(%rcx)
	movl	%r14d, -24(%rcx)
	movq	$0, -16(%rcx)
	movl	(%r15), %edi
	movl	(%r9), %edx
	movl	%edi, %esi
	subl	%edx, %esi
	cmpq	%rsi, %rbx
	jae	LBB0_8
## %bb.14:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	(%r8), %r10
	addq	$40, %rcx
	addl	$-2, %r14d
	incq	%rbx
	jmp	LBB0_7
LBB0_8:
	xorl	%ecx, %ecx
	testl	%edx, %edx
	je	LBB0_13
## %bb.9:
	movq	_NS2_PIN_MUX_BASE1@GOTPCREL(%rip), %rsi
	xorps	%xmm0, %xmm0
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	subl	%edx, %edi
	addl	%ebx, %edi
	movq	(%rsi), %rdx
	leaq	(%rdi,%rdi,4), %rdi
	movq	%rdx, 32(%rax,%rdi,8)
	movl	%ebx, 8(%rax,%rdi,8)
	movups	%xmm0, 16(%rax,%rdi,8)
	incl	%ebx
	movl	(%r9), %edx
	cmpl	%edx, %ebx
	jae	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	(%r15), %edi
	jmp	LBB0_10
LBB0_13:
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NS2_NUM_IOMUX,4,2              ## @NS2_NUM_IOMUX
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_NS2_PIN_MUX_BASE0,8,3          ## @NS2_PIN_MUX_BASE0
	.comm	_NS2_NUM_PWM_MUX,4,2            ## @NS2_NUM_PWM_MUX
	.comm	_NS2_MUX_PAD_FUNC1_OFFSET,8,3   ## @NS2_MUX_PAD_FUNC1_OFFSET
	.comm	_NS2_PIN_MUX_BASE1,8,3          ## @NS2_PIN_MUX_BASE1
	.no_dead_strip	_ns2_mux_log_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ns2_mux_log_init
_ns2_mux_log_init:                      ; @ns2_mux_log_init
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w0, [x0, #8]
Lloh0:
	adrp	x20, _NS2_NUM_IOMUX@GOTPAGE
Lloh1:
	ldr	x20, [x20, _NS2_NUM_IOMUX@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w3, [x8]
	mov	w2, #40
	bl	_devm_kcalloc
	str	x0, [x19]
	cbz	x0, LBB0_4
; %bb.1:
	ldr	w8, [x20]
	cbz	w8, LBB0_5
; %bb.2:
	mov	x8, #0
	mov	x9, x0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	str	wzr, [x9], #40
	add	x8, x8, #1
	ldr	w11, [x20]
	cmp	x8, x11
	b.lo	LBB0_3
	b	LBB0_6
LBB0_4:
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w8, w8
	b	LBB0_15
LBB0_5:
	mov	w11, #0
LBB0_6:
Lloh8:
	adrp	x8, _NS2_PIN_MUX_BASE0@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NS2_PIN_MUX_BASE0@GOTPAGEOFF]
	ldr	x10, [x8]
	stp	xzr, x10, [x0, #24]
	mov	w9, #31
	str	w9, [x0, #8]
	str	xzr, [x0, #16]
Lloh10:
	adrp	x9, _NS2_NUM_PWM_MUX@GOTPAGE
Lloh11:
	ldr	x9, [x9, _NS2_NUM_PWM_MUX@GOTPAGEOFF]
	ldr	w16, [x9]
	sub	w12, w11, w16
	cmp	w12, #2
	b.lo	LBB0_10
; %bb.7:
	add	x12, x0, #72
	mov	w13, #30
	mov	w14, #2
Lloh12:
	adrp	x15, _NS2_MUX_PAD_FUNC1_OFFSET@GOTPAGE
Lloh13:
	ldr	x15, [x15, _NS2_MUX_PAD_FUNC1_OFFSET@GOTPAGEOFF]
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	str	x10, [x12]
	ldr	x10, [x15]
	stur	w13, [x12, #-24]
	stp	xzr, x10, [x12, #-16]
	ldr	w11, [x20]
	ldr	w16, [x9]
	sub	w10, w11, w16
	cmp	x14, x10
	b.hs	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x10, [x8]
	add	x12, x12, #40
	sub	w13, w13, #2
	add	x14, x14, #1
	b	LBB0_8
LBB0_10:
	cbz	w16, LBB0_14
; %bb.11:
	mov	w8, #0
	sub	w12, w11, w16
Lloh14:
	adrp	x10, _NS2_PIN_MUX_BASE1@GOTPAGE
Lloh15:
	ldr	x10, [x10, _NS2_PIN_MUX_BASE1@GOTPAGEOFF]
	ldr	x13, [x10]
	mov	w11, #40
	umaddl	x12, w12, w11, x0
	stp	xzr, x13, [x12, #24]
	str	wzr, [x12, #8]
	str	xzr, [x12, #16]
	ldr	w12, [x9]
	cmp	w12, #2
	b.lo	LBB0_15
; %bb.12:
	mov	w8, #1
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	w13, [x20]
	sub	w12, w13, w12
	add	w12, w8, w12
	ldr	x13, [x10]
	umaddl	x12, w12, w11, x0
	stp	xzr, x13, [x12, #24]
	str	w8, [x12, #8]
	str	xzr, [x12, #16]
	add	w8, w8, #1
	ldr	w12, [x9]
	cmp	w8, w12
	b.lo	LBB0_13
LBB0_14:
	mov	w8, #0
LBB0_15:
	mov	x0, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_NS2_NUM_IOMUX,4,2              ; @NS2_NUM_IOMUX
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_NS2_PIN_MUX_BASE0,8,3          ; @NS2_PIN_MUX_BASE0
	.comm	_NS2_NUM_PWM_MUX,4,2            ; @NS2_NUM_PWM_MUX
	.comm	_NS2_MUX_PAD_FUNC1_OFFSET,8,3   ; @NS2_MUX_PAD_FUNC1_OFFSET
	.comm	_NS2_PIN_MUX_BASE1,8,3          ; @NS2_PIN_MUX_BASE1
	.no_dead_strip	_ns2_mux_log_init
.subsections_via_symbols
