	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vxlan_socket_mc_leave_group
_vxlan_socket_mc_leave_group:           ## @vxlan_socket_mc_leave_group
	.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	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movq	%rdi, %r15
	leaq	-80(%rbp), %rdi
	movl	$32, %esi
	callq	_bzero
	movq	_SOPT_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	movq	%rbx, %rdi
	callq	_VXLAN_SOCKADDR_IS_IPV4
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	(%rbx), %eax
	movl	%eax, -36(%rbp)
	movl	(%r12), %eax
	movl	%eax, -40(%rbp)
	movq	_IPPROTO_IP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)
	movq	_IP_DROP_MEMBERSHIP@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	movq	%rbx, %rdi
	callq	_VXLAN_SOCKADDR_IS_IPV6
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movl	(%rbx), %eax
	movl	%eax, -44(%rbp)
	movl	%r14d, -48(%rbp)
	movq	_IPPROTO_IPV6@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)
	movq	_IPV6_LEAVE_GROUP@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	leaq	-48(%rbp), %rax
	movq	%rax, -72(%rbp)
	movl	$16, -80(%rbp)
	movl	(%r15), %edi
	leaq	-80(%rbp), %rsi
	callq	_sosetopt
LBB0_6:
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_EAFNOSUPPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_SOPT_SET,4,2                   ## @SOPT_SET
	.comm	_IPPROTO_IP,4,2                 ## @IPPROTO_IP
	.comm	_IP_DROP_MEMBERSHIP,4,2         ## @IP_DROP_MEMBERSHIP
	.comm	_IPPROTO_IPV6,4,2               ## @IPPROTO_IPV6
	.comm	_IPV6_LEAVE_GROUP,4,2           ## @IPV6_LEAVE_GROUP
	.comm	_EAFNOSUPPORT,4,2               ## @EAFNOSUPPORT
	.no_dead_strip	_vxlan_socket_mc_leave_group
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vxlan_socket_mc_leave_group
_vxlan_socket_mc_leave_group:           ; @vxlan_socket_mc_leave_group
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x3
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
	add	x0, sp, #16
	mov	w1, #32
	bl	_bzero
Lloh0:
	adrp	x8, _SOPT_SET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SOPT_SET@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #40]
	mov	x0, x21
	bl	_VXLAN_SOCKADDR_IS_IPV4
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w8, [x21]
	ldr	w9, [x22]
Lloh3:
	adrp	x10, _IPPROTO_IP@GOTPAGE
Lloh4:
	ldr	x10, [x10, _IPPROTO_IP@GOTPAGEOFF]
	stp	w9, w8, [sp, #8]
Lloh5:
	ldr	w8, [x10]
Lloh6:
	adrp	x9, _IP_DROP_MEMBERSHIP@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IP_DROP_MEMBERSHIP@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:
	mov	x0, x21
	bl	_VXLAN_SOCKADDR_IS_IPV6
	cbz	x0, LBB0_6
; %bb.3:
	ldr	w8, [x21]
Lloh8:
	adrp	x9, _IPPROTO_IPV6@GOTPAGE
Lloh9:
	ldr	x9, [x9, _IPPROTO_IPV6@GOTPAGEOFF]
	stp	w20, w8, [sp]
Lloh10:
	ldr	w8, [x9]
Lloh11:
	adrp	x9, _IPV6_LEAVE_GROUP@GOTPAGE
Lloh12:
	ldr	x9, [x9, _IPV6_LEAVE_GROUP@GOTPAGEOFF]
LBB0_4:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #32]
	mov	x8, sp
	str	x8, [sp, #24]
	mov	w8, #16
	str	w8, [sp, #16]
	ldr	w0, [x19]
	add	x1, sp, #16
	bl	_sosetopt
LBB0_5:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_6:
Lloh13:
	adrp	x8, _EAFNOSUPPORT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EAFNOSUPPORT@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_SOPT_SET,4,2                   ; @SOPT_SET
	.comm	_IPPROTO_IP,4,2                 ; @IPPROTO_IP
	.comm	_IP_DROP_MEMBERSHIP,4,2         ; @IP_DROP_MEMBERSHIP
	.comm	_IPPROTO_IPV6,4,2               ; @IPPROTO_IPV6
	.comm	_IPV6_LEAVE_GROUP,4,2           ; @IPV6_LEAVE_GROUP
	.comm	_EAFNOSUPPORT,4,2               ; @EAFNOSUPPORT
	.no_dead_strip	_vxlan_socket_mc_leave_group
.subsections_via_symbols
