	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function join_mcast_group
_join_mcast_group:                      ## @join_mcast_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	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r14
	leaq	-48(%rbp), %rdi
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	leaq	-40(%rbp), %rdi
	movq	%r12, %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	_init_net@GOTPCREL(%rip), %rdi
	movq	%r15, %rsi
	callq	___dev_get_by_name
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	(%r14), %rcx
	movq	(%rax), %rax
	testq	%rcx, %rcx
	je	LBB0_3
## %bb.5:
	cmpq	%rcx, %rax
	je	LBB0_4
## %bb.6:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	jmp	LBB0_7
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rax
LBB0_7:
	subl	(%rax), %ebx
	jmp	LBB0_8
LBB0_3:
	movq	%rax, %rcx
LBB0_4:
	movq	%rcx, -48(%rbp)
	movq	%r14, %rdi
	callq	_lock_sock
	leaq	-48(%rbp), %rsi
	movq	%r14, %rdi
	callq	_ip_mc_join_group
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_release_sock
LBB0_8:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_init_net,4,2                   ## @init_net
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_join_mcast_group
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function join_mcast_group
_join_mcast_group:                      ; @join_mcast_group
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x2
	mov	x21, x1
	mov	x19, x0
	mov	x22, sp
	mov	x0, sp
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	add	x0, x22, #8
	mov	x1, x21
	mov	w2, #4
	bl	_memcpy
Lloh0:
	adrp	x0, _init_net@GOTPAGE
Lloh1:
	ldr	x0, [x0, _init_net@GOTPAGEOFF]
	mov	x1, x20
	bl	___dev_get_by_name
	cbz	x0, LBB0_4
; %bb.1:
	ldr	x8, [x19]
	ldr	x9, [x0]
	cbz	x8, LBB0_6
; %bb.2:
	cmp	x9, x8
	b.eq	LBB0_7
; %bb.3:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh4:
	adrp	x8, _ENODEV@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_8
LBB0_6:
	mov	x8, x9
LBB0_7:
	str	x8, [sp]
	mov	x0, x19
	bl	_lock_sock
	mov	x1, sp
	mov	x0, x19
	bl	_ip_mc_join_group
	mov	x20, x0
	mov	x0, x19
	bl	_release_sock
LBB0_8:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_init_net,4,2                   ; @init_net
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_join_mcast_group
.subsections_via_symbols
