	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5_ib_umem_get
_mlx5_ib_umem_get:                      ## @mlx5_ib_umem_get
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -72(%rbp)                  ## 8-byte Spill
	movq	%r8, %r14
	movq	%rcx, %r15
	movq	%rdx, %r12
	movq	%rdi, %rbx
	movq	32(%rbp), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	24(%rbp), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	16(%rbp), %r13
	movq	%rsi, %rdi
	movq	%rdx, %rsi
	movq	%rcx, %rdx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_ib_umem_get
	movq	%rax, (%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_1
## %bb.5:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_mlx5_ib_dbg
	movq	(%r14), %rdi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	(%r14), %rdi
	subq	$8, %rsp
	movq	%r12, %rsi
	xorl	%edx, %edx
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%r13, %r8
	movq	-56(%rbp), %r9                  ## 8-byte Reload
	pushq	$0
	callq	_mlx5_ib_cont_pages
	addq	$16, %rsp
	movl	(%r13), %esi
	movq	%r12, %rdi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	_mlx5_ib_get_buf_offset
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_mlx5_ib_warn
	movq	(%r14), %rdi
	callq	_ib_umem_release
	movq	$0, (%r14)
	movl	%ebx, %eax
	jmp	LBB0_4
LBB0_3:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %r8d
	movl	(%r13), %r9d
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %r10d
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %ebx
	leaq	L_.str.2(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rdx
	movq	%r15, %rcx
	xorl	%eax, %eax
	pushq	%rbx
	pushq	%r10
	callq	_mlx5_ib_dbg
	addq	$16, %rsp
	xorl	%eax, %eax
LBB0_4:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"umem_get failed\n"

L_.str.1:                               ## @.str.1
	.asciz	"bad offset\n"

L_.str.2:                               ## @.str.2
	.asciz	"addr 0x%lx, size %zu, npages %d, page_shift %d, ncont %d, offset %d\n"

	.no_dead_strip	_mlx5_ib_umem_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx5_ib_umem_get
_mlx5_ib_umem_get:                      ; @mlx5_ib_umem_get
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x23, x7
	mov	x24, x6
	mov	x25, x5
	mov	x20, x4
	mov	x22, x3
	mov	x21, x2
	mov	x19, x0
	ldr	x26, [x29, #16]
	mov	x0, x1
	mov	x1, x2
	mov	x2, x3
	mov	w3, #0
	mov	w4, #0
	bl	_ib_umem_get
	str	x0, [x20]
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_mlx5_ib_dbg
	ldr	x0, [x20]
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	b	_PTR_ERR
LBB0_2:
	ldr	x0, [x20]
	mov	x1, x21
	mov	w2, #0
	mov	x3, x25
	mov	x4, x24
	mov	x5, x23
	mov	x6, #0
	bl	_mlx5_ib_cont_pages
	ldr	w1, [x24]
	mov	x0, x21
	mov	x2, x26
	bl	_mlx5_ib_get_buf_offset
	mov	x27, x0
	cbz	w0, LBB0_4
; %bb.3:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_mlx5_ib_warn
	ldr	x0, [x20]
	bl	_ib_umem_release
	str	xzr, [x20]
	b	LBB0_5
LBB0_4:
	ldr	w8, [x25]
	ldr	w9, [x24]
	ldr	w10, [x23]
	ldr	w11, [x26]
	stp	x10, x11, [sp, #32]
	stp	x8, x9, [sp, #16]
	stp	x21, x22, [sp]
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_mlx5_ib_dbg
LBB0_5:
	mov	x0, x27
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"umem_get failed\n"

l_.str.1:                               ; @.str.1
	.asciz	"bad offset\n"

l_.str.2:                               ; @.str.2
	.asciz	"addr 0x%lx, size %zu, npages %d, page_shift %d, ncont %d, offset %d\n"

	.no_dead_strip	_mlx5_ib_umem_get
.subsections_via_symbols
