	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nmk_dt_add_map_configs
_nmk_dt_add_map_configs:                ## @nmk_dt_add_map_configs
	.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	(%rdx), %eax
	cmpl	(%rsi), %eax
	jne	LBB0_3
## %bb.1:
	movq	_ENOSPC@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_3:
	movl	%r9d, %r14d
	movq	%rcx, %r12
	movq	%rdx, %rbx
	movq	%rdi, %r15
	leal	(,%r14,8), %esi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r8, %rdi
	callq	_kmemdup
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	_PIN_MAP_TYPE_CONFIGS_PIN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	(%r15), %rdx
	movl	(%rbx), %esi
	shlq	$5, %rsi
	movl	%ecx, 24(%rdx,%rsi)
	movl	(%rbx), %ecx
	shlq	$5, %rcx
	movq	%r12, (%rdx,%rcx)
	movq	(%r15), %rdx
	movq	%rax, 8(%rdx,%rcx)
	movq	(%r15), %rax
	movl	%r14d, 16(%rax,%rcx)
	incl	(%rbx)
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOSPC,4,2                     ## @ENOSPC
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_PIN_MAP_TYPE_CONFIGS_PIN,4,2   ## @PIN_MAP_TYPE_CONFIGS_PIN
	.no_dead_strip	_nmk_dt_add_map_configs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nmk_dt_add_map_configs
_nmk_dt_add_map_configs:                ; @nmk_dt_add_map_configs
	.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
	ldr	w8, [x2]
	ldr	w9, [x1]
	cmp	w8, w9
	b.ne	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _ENOSPC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOSPC@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:
	mov	x20, x5
	mov	x22, x3
	mov	x19, x2
	mov	x21, x0
	lsl	w1, w5, #3
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x0, x4
	bl	_kmemdup
	cbz	x0, LBB0_4
; %bb.3:
	mov	x8, x0
	mov	w0, #0
Lloh5:
	adrp	x9, _PIN_MAP_TYPE_CONFIGS_PIN@GOTPAGE
Lloh6:
	ldr	x9, [x9, _PIN_MAP_TYPE_CONFIGS_PIN@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	ldr	x10, [x21]
	ldr	w11, [x19]
	add	x11, x10, x11, lsl #5
	str	w9, [x11, #24]
	ldr	w9, [x19]
	lsl	x9, x9, #5
	str	x22, [x10, x9]
	ldr	x10, [x21]
	add	x10, x10, x9
	str	x8, [x10, #8]
	ldr	x8, [x21]
	add	x8, x8, x9
	str	w20, [x8, #16]
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	b	LBB0_6
LBB0_4:
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOSPC,4,2                     ; @ENOSPC
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_PIN_MAP_TYPE_CONFIGS_PIN,4,2   ; @PIN_MAP_TYPE_CONFIGS_PIN
	.no_dead_strip	_nmk_dt_add_map_configs
.subsections_via_symbols
