	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pinctrl_utils_add_map_mux      ## -- Begin function pinctrl_utils_add_map_mux
	.p2align	4, 0x90
_pinctrl_utils_add_map_mux:             ## @pinctrl_utils_add_map_mux
	.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
	movq	%r9, %r14
	movq	%r8, %r15
	movq	%rcx, %rbx
	movq	%rsi, %r12
	movl	(%rcx), %eax
	xorl	%edi, %edi
	cmpl	(%rdx), %eax
	sete	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_ENOSPC@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_3
LBB0_2:
	movq	_PIN_MAP_TYPE_MUX_GROUP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%r12), %rcx
	movl	(%rbx), %edx
	leaq	(%rdx,%rdx,2), %rdx
	movl	%eax, 16(%rcx,%rdx,8)
	movl	(%rbx), %eax
	leal	1(%rax), %edx
	shlq	$3, %rax
	leaq	(%rax,%rax,2), %rax
	movq	%r15, (%rcx,%rax)
	movq	(%r12), %rcx
	movq	%r14, 8(%rcx,%rax)
	movl	%edx, (%rbx)
	xorl	%eax, %eax
LBB0_3:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOSPC,4,2                     ## @ENOSPC
	.comm	_PIN_MAP_TYPE_MUX_GROUP,4,2     ## @PIN_MAP_TYPE_MUX_GROUP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pinctrl_utils_add_map_mux      ; -- Begin function pinctrl_utils_add_map_mux
	.p2align	2
_pinctrl_utils_add_map_mux:             ; @pinctrl_utils_add_map_mux
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x5
	mov	x21, x4
	mov	x19, x3
	mov	x22, x1
	ldr	w8, [x3]
	ldr	w9, [x2]
	cmp	w8, w9
	cset	w0, eq
	bl	_WARN_ON
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _ENOSPC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOSPC@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_3
LBB0_2:
	ldr	x8, [x22]
	ldr	w9, [x19]
	mov	w10, #24
	madd	x9, x9, x10, x8
Lloh3:
	adrp	x10, _PIN_MAP_TYPE_MUX_GROUP@GOTPAGE
Lloh4:
	ldr	x10, [x10, _PIN_MAP_TYPE_MUX_GROUP@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	str	w10, [x9, #16]
	ldr	w9, [x19]
	add	x10, x9, x9, lsl #1
	lsl	x10, x10, #3
	str	x21, [x8, x10]
	ldr	x8, [x22]
	add	x8, x8, x10
	str	x20, [x8, #8]
	add	w8, w9, #1
	str	w8, [x19]
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOSPC,4,2                     ; @ENOSPC
	.comm	_PIN_MAP_TYPE_MUX_GROUP,4,2     ; @PIN_MAP_TYPE_MUX_GROUP
.subsections_via_symbols
