	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ib_umem_alloc_notifier
_ib_umem_alloc_notifier:                ## @ib_umem_alloc_notifier
	.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
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$16, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %rbx
	movq	_RB_ROOT_CACHED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movq	%rbx, %rdi
	addq	$8, %rdi
	callq	_init_rwsem
	movq	_current@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	xorl	%edi, %edi
	cmpq	%r14, 8(%rax)
	setne	%dil
	callq	_WARN_ON
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movq	(%r15), %rax
	movl	(%rax), %edi
	movq	_PIDTYPE_PID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_get_task_pid
	movl	%eax, 4(%rbx)
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_RB_ROOT_CACHED,4,2             ## @RB_ROOT_CACHED
	.comm	_current,8,3                    ## @current
	.comm	_PIDTYPE_PID,4,2                ## @PIDTYPE_PID
	.no_dead_strip	_ib_umem_alloc_notifier
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ib_umem_alloc_notifier
_ib_umem_alloc_notifier:                ; @ib_umem_alloc_notifier
	.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, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #16
	bl	_kzalloc
	cbz	x0, LBB0_2
; %bb.1:
	mov	x19, x0
Lloh3:
	adrp	x8, _RB_ROOT_CACHED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RB_ROOT_CACHED@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x0, #12]
	add	x0, x0, #8
	bl	_init_rwsem
Lloh6:
	adrp	x21, _current@GOTPAGE
Lloh7:
	ldr	x21, [x21, _current@GOTPAGEOFF]
	ldr	x8, [x21]
	ldr	x8, [x8, #8]
	cmp	x8, x20
	cset	w0, ne
	bl	_WARN_ON
	bl	_rcu_read_lock
	ldr	x8, [x21]
	ldr	w0, [x8]
Lloh8:
	adrp	x8, _PIDTYPE_PID@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PIDTYPE_PID@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	bl	_get_task_pid
	str	w0, [x19, #4]
	bl	_rcu_read_unlock
	mov	x0, x19
	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
LBB0_2:
Lloh11:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w0, w8
	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
	b	_ERR_PTR
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_RB_ROOT_CACHED,4,2             ; @RB_ROOT_CACHED
	.comm	_current,8,3                    ; @current
	.comm	_PIDTYPE_PID,4,2                ; @PIDTYPE_PID
	.no_dead_strip	_ib_umem_alloc_notifier
.subsections_via_symbols
