	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_bind_wr
_set_bind_wr:                           ## @set_bind_wr
	.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
	movl	$2147483649, %eax               ## imm = 0x80000001
	cmpq	%rax, 8(%rcx)
	jb	LBB0_2
## %bb.1:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	jmp	LBB0_8
LBB0_2:
	movq	%r9, %r15
	movl	%r8d, %r12d
	movq	%rcx, %rbx
	movq	%rdi, %r14
	movq	16(%rbp), %rax
	movq	(%rdi), %r13
	movq	%rax, (%rsp)
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	callq	_set_umr_control_seg
	xorl	%edi, %edi
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	cmpq	%r13, (%r15)
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_mlx5_get_send_wqe
	movq	%rax, (%r15)
LBB0_4:
	movq	16(%rbp), %rax
	movq	%rax, (%rsp)
	movq	%r14, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movq	%rbx, %rcx
	movl	%r12d, -52(%rbp)                ## 4-byte Spill
	movl	%r12d, %r8d
	movq	%r15, %r9
	callq	_set_umr_mkey_seg
	xorl	%r12d, %r12d
	cmpq	$0, 8(%rbx)
	je	LBB0_8
## %bb.5:
	xorl	%edi, %edi
	cmpq	%r15, -64(%rbp)                 ## 8-byte Folded Reload
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_mlx5_get_send_wqe
	movq	%rax, (%r15)
LBB0_7:
	movq	16(%rbp), %rax
	movq	%rax, (%rsp)
	movq	%r14, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movq	%rbx, %rcx
	movl	-52(%rbp), %r8d                 ## 4-byte Reload
	movq	%r15, %r9
	callq	_set_umr_data_seg
LBB0_8:
	movl	%r12d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_IBV_ACCESS_LOCAL_WRITE,4,2     ## @IBV_ACCESS_LOCAL_WRITE
	.comm	_IBV_ACCESS_MW_BIND,4,2         ## @IBV_ACCESS_MW_BIND
	.comm	_IBV_ACCESS_REMOTE_ATOMIC,4,2   ## @IBV_ACCESS_REMOTE_ATOMIC
	.comm	_IBV_ACCESS_REMOTE_READ,4,2     ## @IBV_ACCESS_REMOTE_READ
	.comm	_IBV_ACCESS_REMOTE_WRITE,4,2    ## @IBV_ACCESS_REMOTE_WRITE
	.no_dead_strip	_set_bind_wr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_bind_wr
_set_bind_wr:                           ; @set_bind_wr
	.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
	ldr	x8, [x3, #8]
	mov	w9, #-2147483647
	cmp	x8, x9
	b.lo	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	b	LBB0_9
LBB0_2:
	mov	x19, x6
	mov	x20, x5
	mov	x21, x4
	mov	x22, x3
	mov	x23, x2
	mov	x24, x1
	mov	x25, x0
	ldr	x26, [x0]
	bl	_set_umr_control_seg
	ldr	x8, [x20]
	cmp	x8, x26
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x25
	mov	w1, #0
	bl	_mlx5_get_send_wqe
	str	x0, [x20]
LBB0_4:
	mov	x0, x25
	mov	x1, x24
	mov	x2, x23
	mov	x3, x22
	mov	x4, x21
	mov	x5, x20
	mov	x6, x19
	bl	_set_umr_mkey_seg
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_8
; %bb.5:
	cmp	x26, x20
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_7
; %bb.6:
	mov	x0, x25
	mov	w1, #0
	bl	_mlx5_get_send_wqe
	str	x0, [x20]
LBB0_7:
	mov	x0, x25
	mov	x1, x24
	mov	x2, x23
	mov	x3, x22
	mov	x4, x21
	mov	x5, x20
	mov	x6, x19
	bl	_set_umr_data_seg
LBB0_8:
	mov	w0, #0
LBB0_9:
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_IBV_ACCESS_LOCAL_WRITE,4,2     ; @IBV_ACCESS_LOCAL_WRITE
	.comm	_IBV_ACCESS_MW_BIND,4,2         ; @IBV_ACCESS_MW_BIND
	.comm	_IBV_ACCESS_REMOTE_ATOMIC,4,2   ; @IBV_ACCESS_REMOTE_ATOMIC
	.comm	_IBV_ACCESS_REMOTE_READ,4,2     ; @IBV_ACCESS_REMOTE_READ
	.comm	_IBV_ACCESS_REMOTE_WRITE,4,2    ; @IBV_ACCESS_REMOTE_WRITE
	.no_dead_strip	_set_bind_wr
.subsections_via_symbols
