	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vxlan_create_sock
_vxlan_create_sock:                     ## @vxlan_create_sock
	.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	%r8d, %r14d
	movl	%ecx, %r13d
	movl	%edx, %r12d
	movl	%esi, %ebx
	movq	%rdi, %r15
	leaq	-64(%rbp), %rdi
	xorl	%esi, %esi
	movl	$20, %edx
	callq	_memset
	testl	%ebx, %ebx
	je	LBB0_2
## %bb.1:
	movq	_AF_INET6@GOTPCREL(%rip), %rax
	movq	_VXLAN_F_UDP_ZERO_CSUM6_RX@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	andl	(%rcx), %r13d
	movl	(%rax), %eax
	sete	%dl
	movl	%edx, -64(%rbp)
	movl	$1, -60(%rbp)
	jmp	LBB0_3
LBB0_2:
	movq	_AF_INET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_3:
	movl	%eax, -48(%rbp)
	movl	%r12d, -52(%rbp)
	movl	%r14d, -56(%rbp)
	leaq	-64(%rbp), %rsi
	leaq	-72(%rbp), %rdx
	movq	%r15, %rdi
	callq	_udp_sock_create
	testl	%eax, %eax
	js	LBB0_4
## %bb.5:
	movq	-72(%rbp), %rax
	jmp	LBB0_6
LBB0_4:
	movl	%eax, %edi
	callq	_ERR_PTR
LBB0_6:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AF_INET6,4,2                   ## @AF_INET6
	.comm	_VXLAN_F_UDP_ZERO_CSUM6_RX,4,2  ## @VXLAN_F_UDP_ZERO_CSUM6_RX
	.comm	_AF_INET,4,2                    ## @AF_INET
	.no_dead_strip	_vxlan_create_sock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vxlan_create_sock
_vxlan_create_sock:                     ; @vxlan_create_sock
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x4
	mov	x22, x3
	mov	x21, x2
	mov	x23, x1
	mov	x19, x0
	mov	x0, sp
	mov	w1, #0
	mov	w2, #20
	bl	_memset
	cbz	w23, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _AF_INET6@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AF_INET6@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _VXLAN_F_UDP_ZERO_CSUM6_RX@GOTPAGE
Lloh4:
	ldr	x9, [x9, _VXLAN_F_UDP_ZERO_CSUM6_RX@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w22
	cset	w9, eq
	mov	w10, #1
	stp	w9, w10, [sp]
	b	LBB0_3
LBB0_2:
Lloh6:
	adrp	x8, _AF_INET@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AF_INET@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
LBB0_3:
	stp	w21, w8, [sp, #12]
	str	w20, [sp, #8]
	mov	x1, sp
	add	x2, sp, #24
	mov	x0, x19
	bl	_udp_sock_create
	tbnz	w0, #31, LBB0_5
; %bb.4:
	ldr	x0, [sp, #24]
	b	LBB0_6
LBB0_5:
	bl	_ERR_PTR
LBB0_6:
	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
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_AF_INET6,4,2                   ; @AF_INET6
	.comm	_VXLAN_F_UDP_ZERO_CSUM6_RX,4,2  ; @VXLAN_F_UDP_ZERO_CSUM6_RX
	.comm	_AF_INET,4,2                    ; @AF_INET
	.no_dead_strip	_vxlan_create_sock
.subsections_via_symbols
