	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vxlan_setup_multicast_interface
_vxlan_setup_multicast_interface:       ## @vxlan_setup_multicast_interface
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	16(%rdi), %edi
	callq	_ifunit_ref
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %r14
	movq	_IFF_MULTICAST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_4
## %bb.2:
	movq	%r14, 8(%rbx)
	movl	4(%r14), %eax
	movl	%eax, (%rbx)
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_3:
	movl	16(%rbx), %edx
	movl	20(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_if_printf
	movq	_ENOENT@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_4:
	movl	16(%rbx), %edx
	movl	20(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_if_printf
	movq	%r14, %rdi
	callq	_if_rele
	movq	_ENOTSUP@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"multicast interface %s does not exist\n"

	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_IFF_MULTICAST,4,2              ## @IFF_MULTICAST
L_.str.1:                               ## @.str.1
	.asciz	"interface %s does not support multicast\n"

	.comm	_ENOTSUP,4,2                    ## @ENOTSUP
	.no_dead_strip	_vxlan_setup_multicast_interface
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vxlan_setup_multicast_interface
_vxlan_setup_multicast_interface:       ; @vxlan_setup_multicast_interface
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w0, [x0, #16]
	bl	_ifunit_ref
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _IFF_MULTICAST@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IFF_MULTICAST@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.2:
	mov	w0, #0
	str	x20, [x19, #8]
	ldr	w8, [x20, #4]
	str	w8, [x19]
	b	LBB0_6
LBB0_3:
	ldp	w2, w0, [x19, #16]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_if_printf
Lloh5:
	adrp	x8, _ENOENT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
	ldp	w2, w0, [x19, #16]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_if_printf
	mov	x0, x20
	bl	_if_rele
Lloh9:
	adrp	x8, _ENOTSUP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOTSUP@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"multicast interface %s does not exist\n"

	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_IFF_MULTICAST,4,2              ; @IFF_MULTICAST
l_.str.1:                               ; @.str.1
	.asciz	"interface %s does not support multicast\n"

	.comm	_ENOTSUP,4,2                    ; @ENOTSUP
	.no_dead_strip	_vxlan_setup_multicast_interface
.subsections_via_symbols
