	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vxlan_socket_mc_join_group
_vxlan_socket_mc_join_group:            ## @vxlan_socket_mc_join_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r15
	movq	%rcx, %r12
	movq	%rdx, %r13
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	(%rdx), %eax
	movl	%eax, (%r8)
	movq	%rsi, %rdi
	callq	_VXLAN_SOCKADDR_IS_IPV4
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movl	(%rbx), %eax
	movl	%eax, -44(%rbp)
	movl	(%r13), %eax
	movl	%eax, -48(%rbp)
	leaq	-88(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$32, %esi
	callq	_bzero
	movq	_SOPT_SET@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)
	movq	_IPPROTO_IP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -68(%rbp)
	movq	_IP_ADD_MEMBERSHIP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)
	leaq	-56(%rbp), %rax
	movq	%rax, -80(%rbp)
	movl	$16, -88(%rbp)
	movl	(%r14), %edi
	movq	%rbx, %rsi
	callq	_sosetopt
	testl	%eax, %eax
	jne	LBB0_6
## %bb.2:
	movl	(%r13), %eax
	movl	%eax, (%r15)
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_3:
	movq	%rbx, %rdi
	callq	_VXLAN_SOCKADDR_IS_IPV6
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movl	(%rbx), %eax
	movl	%eax, -52(%rbp)
	movl	(%r12), %eax
	movl	%eax, -56(%rbp)
	leaq	-88(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$32, %esi
	callq	_bzero
	movq	_SOPT_SET@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)
	movq	_IPPROTO_IPV6@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -68(%rbp)
	movq	_IPV6_JOIN_GROUP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)
	leaq	-56(%rbp), %rax
	movq	%rax, -80(%rbp)
	movl	$16, -88(%rbp)
	movl	(%r14), %edi
	movq	%rbx, %rsi
	callq	_sosetopt
	jmp	LBB0_6
LBB0_5:
	movq	_EAFNOSUPPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_6:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SOPT_SET,8,3                   ## @SOPT_SET
	.comm	_IPPROTO_IP,4,2                 ## @IPPROTO_IP
	.comm	_IP_ADD_MEMBERSHIP,4,2          ## @IP_ADD_MEMBERSHIP
	.comm	_IPPROTO_IPV6,4,2               ## @IPPROTO_IPV6
	.comm	_IPV6_JOIN_GROUP,4,2            ## @IPV6_JOIN_GROUP
	.comm	_EAFNOSUPPORT,4,2               ## @EAFNOSUPPORT
	.no_dead_strip	_vxlan_socket_mc_join_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_join_group
_vxlan_socket_mc_join_group:            ; @vxlan_socket_mc_join_group
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x20, x4
	mov	x22, x3
	mov	x21, x2
	mov	x23, x1
	mov	x19, x0
	ldr	w8, [x2]
	str	w8, [x4]
	mov	x0, x1
	bl	_VXLAN_SOCKADDR_IS_IPV4
	cbz	x0, LBB0_3
; %bb.1:
	ldr	w8, [x23]
	ldr	w9, [x21]
	stp	w9, w8, [sp, #8]
	add	x0, sp, #16
	mov	w1, #32
	bl	_bzero
Lloh0:
	adrp	x8, _SOPT_SET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SOPT_SET@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _IPPROTO_IP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IPPROTO_IP@GOTPAGEOFF]
	str	x8, [sp, #40]
Lloh5:
	ldr	w8, [x9]
Lloh6:
	adrp	x9, _IP_ADD_MEMBERSHIP@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IP_ADD_MEMBERSHIP@GOTPAGEOFF]
Lloh8:
	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
	cbnz	w0, LBB0_6
; %bb.2:
	ldr	w8, [x21]
	str	w8, [x20]
	b	LBB0_6
LBB0_3:
	mov	x0, x23
	bl	_VXLAN_SOCKADDR_IS_IPV6
	cbz	x0, LBB0_5
; %bb.4:
	ldr	w8, [x23]
	ldr	w9, [x22]
	stp	w9, w8, [sp]
	add	x0, sp, #16
	mov	w1, #32
	bl	_bzero
Lloh9:
	adrp	x8, _SOPT_SET@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SOPT_SET@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
Lloh12:
	adrp	x9, _IPPROTO_IPV6@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IPPROTO_IPV6@GOTPAGEOFF]
	str	x8, [sp, #40]
Lloh14:
	ldr	w8, [x9]
Lloh15:
	adrp	x9, _IPV6_JOIN_GROUP@GOTPAGE
Lloh16:
	ldr	x9, [x9, _IPV6_JOIN_GROUP@GOTPAGEOFF]
Lloh17:
	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
	b	LBB0_6
LBB0_5:
Lloh18:
	adrp	x8, _EAFNOSUPPORT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EAFNOSUPPORT@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
LBB0_6:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_SOPT_SET,8,3                   ; @SOPT_SET
	.comm	_IPPROTO_IP,4,2                 ; @IPPROTO_IP
	.comm	_IP_ADD_MEMBERSHIP,4,2          ; @IP_ADD_MEMBERSHIP
	.comm	_IPPROTO_IPV6,4,2               ; @IPPROTO_IPV6
	.comm	_IPV6_JOIN_GROUP,4,2            ; @IPV6_JOIN_GROUP
	.comm	_EAFNOSUPPORT,4,2               ; @EAFNOSUPPORT
	.no_dead_strip	_vxlan_socket_mc_join_group
.subsections_via_symbols
