	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ib_umem_release                ## -- Begin function ib_umem_release
	.p2align	4, 0x90
_ib_umem_release:                       ## @ib_umem_release
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	40(%rdi), %r13
	movl	8(%r13), %edi
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	___ib_umem_release
	movq	_current@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	callq	_get_task_mm
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %r14
	movq	24(%rbx), %rdi
	addq	32(%rbx), %rdi
	callq	_PAGE_ALIGN
	movq	%rax, %r15
	movq	_PAGE_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shrq	%cl, %r15
	cmpq	$0, (%r13)
	je	LBB0_4
## %bb.2:
	movq	%r14, %rdi
	callq	_down_write_trylock
	testl	%eax, %eax
	jne	LBB0_5
## %bb.3:
	leaq	8(%rbx), %r12
	movq	_ib_umem_account@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_INIT_WORK
	movq	%r14, 16(%rbx)
	movq	%r15, (%rbx)
	movq	_ib_wq@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_queue_work                     ## TAILCALL
LBB0_4:
	movq	%r14, %rdi
	callq	_down_write
LBB0_5:
	movq	(%r12), %rax
	movq	(%rax), %rax
	subq	%r15, (%rax)
	movq	%r14, %rdi
	callq	_up_write
	movq	%r14, %rdi
	callq	_mmput
LBB0_6:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_current,8,3                    ## @current
	.comm	_PAGE_SHIFT,8,3                 ## @PAGE_SHIFT
	.comm	_ib_umem_account,4,2            ## @ib_umem_account
	.comm	_ib_wq,4,2                      ## @ib_wq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ib_umem_release                ; -- Begin function ib_umem_release
	.p2align	2
_ib_umem_release:                       ; @ib_umem_release
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	ldr	x23, [x0, #40]
	ldr	w0, [x23, #8]
	mov	x1, x19
	mov	w2, #1
	bl	___ib_umem_release
Lloh0:
	adrp	x21, _current@GOTPAGE
Lloh1:
	ldr	x21, [x21, _current@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_get_task_mm
	cbz	x0, LBB0_6
; %bb.1:
	mov	x20, x0
	ldp	x9, x8, [x19, #24]
	add	x0, x9, x8
	bl	_PAGE_ALIGN
Lloh2:
	adrp	x8, _PAGE_SHIFT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PAGE_SHIFT@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	lsr	x22, x0, x8
	ldr	x8, [x23]
	cbz	x8, LBB0_4
; %bb.2:
	mov	x0, x20
	bl	_down_write_trylock
	cbnz	w0, LBB0_5
; %bb.3:
	add	x21, x19, #8
Lloh5:
	adrp	x8, _ib_umem_account@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ib_umem_account@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_INIT_WORK
	str	x20, [x19, #16]
	str	x22, [x19]
Lloh8:
	adrp	x8, _ib_wq@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ib_wq@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	mov	x1, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_queue_work
LBB0_4:
	mov	x0, x20
	bl	_down_write
LBB0_5:
	ldr	x8, [x21]
	ldr	x8, [x8]
	ldr	x9, [x8]
	sub	x9, x9, x22
	str	x9, [x8]
	mov	x0, x20
	bl	_up_write
	mov	x0, x20
	bl	_mmput
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_kfree
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_current,8,3                    ; @current
	.comm	_PAGE_SHIFT,8,3                 ; @PAGE_SHIFT
	.comm	_ib_umem_account,4,2            ; @ib_umem_account
	.comm	_ib_wq,4,2                      ; @ib_wq
.subsections_via_symbols
