	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwpm_create_mapinfo            ## -- Begin function iwpm_create_mapinfo
	.p2align	4, 0x90
_iwpm_create_mapinfo:                   ## @iwpm_create_mapinfo
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movl	%edx, %r12d
	movq	%rsi, %r13
	movq	%rdi, %r15
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	movl	%edx, %edi
	callq	_iwpm_valid_client
	testl	%eax, %eax
	je	LBB0_7
## %bb.1:
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$20, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %r14
	leaq	8(%rax), %rdi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	%r14, %r15
	addq	$4, %r15
	movq	%r15, %rdi
	movq	%r13, %rsi
	movl	$4, %edx
	callq	_memcpy
	movl	%r12d, 16(%r14)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 12(%r14)
	movq	_iwpm_mapinfo_lock@GOTPCREL(%rip), %rdi
	callq	_spin_lock_irqsave
	movq	_iwpm_hash_bucket@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.4:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_get_mapinfo_hash_bucket
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_hlist_add_head
	movq	_iwpm_mapinfo_lock@GOTPCREL(%rip), %rdi
	callq	_spin_unlock_irqrestore
	xorl	%ebx, %ebx
	jmp	LBB0_7
LBB0_2:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_7
LBB0_6:
	movq	_iwpm_mapinfo_lock@GOTPCREL(%rip), %rdi
	callq	_spin_unlock_irqrestore
	movq	%r14, %rdi
	callq	_kfree
LBB0_7:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_iwpm_mapinfo_lock,4,2          ## @iwpm_mapinfo_lock
	.comm	_iwpm_hash_bucket,8,3           ## @iwpm_hash_bucket
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwpm_create_mapinfo            ; -- Begin function iwpm_create_mapinfo
	.p2align	2
_iwpm_create_mapinfo:                   ; @iwpm_create_mapinfo
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x25, x0
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w19, w8
	mov	x0, x2
	bl	_iwpm_valid_client
	cbz	w0, LBB0_7
; %bb.1:
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w0, #20
	bl	_kzalloc
	cbz	x0, LBB0_5
; %bb.2:
	mov	x20, x0
	add	x24, x0, #8
	mov	x0, x24
	mov	x1, x25
	mov	w2, #4
	bl	_memcpy
	add	x25, x20, #4
	mov	x0, x25
	mov	x1, x23
	mov	w2, #4
	bl	_memcpy
	stp	w21, w22, [x20, #12]
Lloh6:
	adrp	x0, _iwpm_mapinfo_lock@GOTPAGE
Lloh7:
	ldr	x0, [x0, _iwpm_mapinfo_lock@GOTPAGEOFF]
	bl	_spin_lock_irqsave
Lloh8:
	adrp	x8, _iwpm_hash_bucket@GOTPAGE
Lloh9:
	ldr	x8, [x8, _iwpm_hash_bucket@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cbz	x8, LBB0_6
; %bb.3:
	mov	x0, x24
	mov	x1, x25
	bl	_get_mapinfo_hash_bucket
	cbz	x0, LBB0_6
; %bb.4:
	mov	x1, x0
	mov	x0, x20
	bl	_hlist_add_head
Lloh11:
	adrp	x0, _iwpm_mapinfo_lock@GOTPAGE
Lloh12:
	ldr	x0, [x0, _iwpm_mapinfo_lock@GOTPAGEOFF]
	bl	_spin_unlock_irqrestore
	mov	w19, #0
	b	LBB0_7
LBB0_5:
Lloh13:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	neg	w19, w8
	b	LBB0_7
LBB0_6:
Lloh16:
	adrp	x0, _iwpm_mapinfo_lock@GOTPAGE
Lloh17:
	ldr	x0, [x0, _iwpm_mapinfo_lock@GOTPAGEOFF]
	bl	_spin_unlock_irqrestore
	mov	x0, x20
	bl	_kfree
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_iwpm_mapinfo_lock,4,2          ; @iwpm_mapinfo_lock
	.comm	_iwpm_hash_bucket,8,3           ; @iwpm_hash_bucket
.subsections_via_symbols
