	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function send_leave_to_wire
_send_leave_to_wire:                    ## @send_leave_to_wire
	.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	%r12
	pushq	%rbx
	subq	$80, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r12
	leaq	-112(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$80, %edx
	callq	_memset
	movabsq	$8589934593, %rax               ## imm = 0x200000001
	movq	%rax, -96(%rbp)
	movq	_IB_MGMT_CLASS_SUBN_ADM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movq	_IB_SA_METHOD_DELETE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	xorl	%edi, %edi
	callq	_cpu_to_be16
	movq	%rax, -56(%rbp)
	xorl	%edi, %edi
	callq	_cpu_to_be16
	movq	%rax, -64(%rbp)
	movq	8(%r12), %rdi
	callq	_mlx4_ib_get_new_demux_tid
	movl	%eax, -72(%rbp)
	movl	%eax, 24(%r12)
	movq	_IB_SA_ATTR_MC_MEMBER_REC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_be16
	movq	%rax, -80(%rbp)
	xorl	%edi, %edi
	callq	_cpu_to_be32
	movl	%eax, -88(%rbp)
	movl	$0, -112(%rbp)
	movl	$7, %edi
	callq	_cpu_to_be16
	movq	_IB_SA_MCMEMBER_REC_MGID@GOTPCREL(%rip), %rcx
	movq	_IB_SA_MCMEMBER_REC_PORT_GID@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	_IB_SA_MCMEMBER_REC_JOIN_STATE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movq	%rax, -104(%rbp)
	movl	%edx, -108(%rbp)
	movl	%r15d, -40(%rbp)
	movq	8(%r12), %rdi
	movq	%r14, %rsi
	callq	_send_mad_to_wire
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	_MCAST_IDLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r12)
	jmp	LBB0_3
LBB0_2:
	movq	8(%r12), %rax
	movl	(%rax), %r14d
	movq	_MAD_TIMEOUT_MS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msecs_to_jiffies
	movl	%r14d, %edi
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_queue_delayed_work
LBB0_3:
	movl	%ebx, %eax
	addq	$80, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_MGMT_CLASS_SUBN_ADM,4,2     ## @IB_MGMT_CLASS_SUBN_ADM
	.comm	_IB_SA_METHOD_DELETE,4,2        ## @IB_SA_METHOD_DELETE
	.comm	_IB_SA_ATTR_MC_MEMBER_REC,4,2   ## @IB_SA_ATTR_MC_MEMBER_REC
	.comm	_IB_SA_MCMEMBER_REC_MGID,4,2    ## @IB_SA_MCMEMBER_REC_MGID
	.comm	_IB_SA_MCMEMBER_REC_PORT_GID,4,2 ## @IB_SA_MCMEMBER_REC_PORT_GID
	.comm	_IB_SA_MCMEMBER_REC_JOIN_STATE,4,2 ## @IB_SA_MCMEMBER_REC_JOIN_STATE
	.comm	_MCAST_IDLE,4,2                 ## @MCAST_IDLE
	.comm	_MAD_TIMEOUT_MS,4,2             ## @MAD_TIMEOUT_MS
	.no_dead_strip	_send_leave_to_wire
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function send_leave_to_wire
lCPI0_0:
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_send_leave_to_wire:                    ; @send_leave_to_wire
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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, x1
	mov	x19, x0
	mov	x0, sp
	mov	w1, #0
	mov	w2, #80
	bl	_memset
Lloh0:
	adrp	x8, _IB_MGMT_CLASS_SUBN_ADM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IB_MGMT_CLASS_SUBN_ADM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, lCPI0_0@PAGE
Lloh4:
	ldr	d0, [x9, lCPI0_0@PAGEOFF]
	str	d0, [sp, #16]
Lloh5:
	adrp	x9, _IB_SA_METHOD_DELETE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _IB_SA_METHOD_DELETE@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #64]
	mov	w0, #0
	bl	_cpu_to_be16
	str	x0, [sp, #56]
	mov	w0, #0
	bl	_cpu_to_be16
	str	x0, [sp, #48]
	ldr	x0, [x19, #8]
	bl	_mlx4_ib_get_new_demux_tid
	str	w0, [sp, #40]
	str	w0, [x19, #24]
Lloh8:
	adrp	x8, _IB_SA_ATTR_MC_MEMBER_REC@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IB_SA_ATTR_MC_MEMBER_REC@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_cpu_to_be16
	str	x0, [sp, #32]
	mov	w0, #0
	bl	_cpu_to_be32
	str	w0, [sp, #24]
	str	wzr, [sp]
	mov	w0, #7
	bl	_cpu_to_be16
	str	x0, [sp, #8]
Lloh11:
	adrp	x8, _IB_SA_MCMEMBER_REC_MGID@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IB_SA_MCMEMBER_REC_MGID@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	adrp	x9, _IB_SA_MCMEMBER_REC_PORT_GID@GOTPAGE
Lloh15:
	ldr	x9, [x9, _IB_SA_MCMEMBER_REC_PORT_GID@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
Lloh17:
	adrp	x10, _IB_SA_MCMEMBER_REC_JOIN_STATE@GOTPAGE
Lloh18:
	ldr	x10, [x10, _IB_SA_MCMEMBER_REC_JOIN_STATE@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh19:
	ldr	w9, [x10]
	orr	w8, w8, w9
	str	w8, [sp, #4]
	str	w20, [sp, #72]
	ldr	x0, [x19, #8]
	mov	x1, sp
	bl	_send_mad_to_wire
	mov	x20, x0
	cbz	w0, LBB0_2
; %bb.1:
Lloh20:
	adrp	x8, _MCAST_IDLE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _MCAST_IDLE@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	str	w8, [x19, #16]
	b	LBB0_3
LBB0_2:
	ldr	x8, [x19, #8]
	ldr	w21, [x8]
Lloh23:
	adrp	x8, _MAD_TIMEOUT_MS@GOTPAGE
Lloh24:
	ldr	x8, [x8, _MAD_TIMEOUT_MS@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	bl	_msecs_to_jiffies
	mov	x2, x0
	mov	x0, x21
	mov	x1, x19
	bl	_queue_delayed_work
LBB0_3:
	mov	x0, x20
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdrp	Lloh3, Lloh5
	.loh AdrpLdr	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_MGMT_CLASS_SUBN_ADM,4,2     ; @IB_MGMT_CLASS_SUBN_ADM
	.comm	_IB_SA_METHOD_DELETE,4,2        ; @IB_SA_METHOD_DELETE
	.comm	_IB_SA_ATTR_MC_MEMBER_REC,4,2   ; @IB_SA_ATTR_MC_MEMBER_REC
	.comm	_IB_SA_MCMEMBER_REC_MGID,4,2    ; @IB_SA_MCMEMBER_REC_MGID
	.comm	_IB_SA_MCMEMBER_REC_PORT_GID,4,2 ; @IB_SA_MCMEMBER_REC_PORT_GID
	.comm	_IB_SA_MCMEMBER_REC_JOIN_STATE,4,2 ; @IB_SA_MCMEMBER_REC_JOIN_STATE
	.comm	_MCAST_IDLE,4,2                 ; @MCAST_IDLE
	.comm	_MAD_TIMEOUT_MS,4,2             ; @MAD_TIMEOUT_MS
	.no_dead_strip	_send_leave_to_wire
.subsections_via_symbols
