	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function geneve_create_sock
_geneve_create_sock:                    ## @geneve_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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movl	%edx, %r15d
	movl	%esi, %ebx
	movq	%rdi, %r14
	leaq	-56(%rbp), %rdi
	xorl	%esi, %esi
	movl	$20, %edx
	callq	_memset
	testl	%ebx, %ebx
	je	LBB0_2
## %bb.1:
	movq	_AF_INET6@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	$1, -56(%rbp)
	movl	%r12d, -52(%rbp)
	jmp	LBB0_3
LBB0_2:
	movq	_AF_INET@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_INADDR_ANY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htonl
	movl	%eax, -44(%rbp)
LBB0_3:
	movl	%ebx, -40(%rbp)
	movl	%r15d, -48(%rbp)
	leaq	-56(%rbp), %rsi
	leaq	-64(%rbp), %rdx
	movq	%r14, %rdi
	callq	_udp_sock_create
	testl	%eax, %eax
	js	LBB0_4
## %bb.5:
	movq	-64(%rbp), %rax
	jmp	LBB0_6
LBB0_4:
	movl	%eax, %edi
	callq	_ERR_PTR
LBB0_6:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AF_INET6,4,2                   ## @AF_INET6
	.comm	_AF_INET,4,2                    ## @AF_INET
	.comm	_INADDR_ANY,4,2                 ## @INADDR_ANY
	.no_dead_strip	_geneve_create_sock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function geneve_create_sock
_geneve_create_sock:                    ; @geneve_create_sock
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x21, x3
	mov	x20, x2
	mov	x22, x1
	mov	x19, x0
	mov	x0, sp
	mov	w1, #0
	mov	w2, #20
	bl	_memset
	cbz	w22, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _AF_INET6@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AF_INET6@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
	mov	w8, #1
	stp	w8, w21, [sp]
	b	LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _AF_INET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AF_INET@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
Lloh6:
	adrp	x8, _INADDR_ANY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _INADDR_ANY@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_htonl
	str	w0, [sp, #12]
LBB0_3:
	str	w22, [sp, #16]
	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, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_AF_INET6,4,2                   ; @AF_INET6
	.comm	_AF_INET,4,2                    ; @AF_INET
	.comm	_INADDR_ANY,4,2                 ; @INADDR_ANY
	.no_dead_strip	_geneve_create_sock
.subsections_via_symbols
