	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ip_mc_join_group               ## -- Begin function ip_mc_join_group
	.p2align	4, 0x90
_ip_mc_join_group:                      ## @ip_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	8(%rsi), %rbx
	callq	_inet_sk
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_sock_net
	movq	%rax, %r13
	movq	%rbx, %rdi
	callq	_ipv4_is_multicast
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_rtnl_lock
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_ip_mc_find_dev
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r13
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.6:
	movq	_EADDRINUSE@GOTPCREL(%rip), %rax
	subl	(%rax), %r12d
	movl	(%r14), %edx
	xorl	%eax, %eax
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	incl	%eax
	movq	16(%rcx), %rcx
	testq	%rcx, %rcx
	je	LBB0_10
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rbx, 32(%rcx)
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	cmpl	%edx, 24(%rcx)
	jne	LBB0_9
	jmp	LBB0_13
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	jmp	LBB0_14
LBB0_3:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	jmp	LBB0_13
LBB0_5:
	xorl	%eax, %eax
LBB0_10:
	movq	_ENOBUFS@GOTPCREL(%rip), %rcx
	xorl	%r12d, %r12d
	subl	(%rcx), %r12d
	movq	_sysctl_igmp_max_memberships@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_13
## %bb.11:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	$40, %esi
	callq	_sock_kmalloc
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	%rax, %r15
	movq	%rax, %rdi
	addq	$24, %rdi
	movq	%r14, %rsi
	movl	$16, %edx
	callq	_memcpy
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
	movq	%rdi, 16(%r15)
	movq	$0, 8(%r15)
	movq	_MCAST_EXCLUDE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movq	%r15, %rsi
	callq	_rcu_assign_pointer
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_ip_mc_inc_group
	xorl	%r12d, %r12d
LBB0_13:
	xorl	%eax, %eax
	callq	_rtnl_unlock
LBB0_14:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_EADDRINUSE,4,2                 ## @EADDRINUSE
	.comm	_ENOBUFS,4,2                    ## @ENOBUFS
	.comm	_sysctl_igmp_max_memberships,4,2 ## @sysctl_igmp_max_memberships
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_MCAST_EXCLUDE,4,2              ## @MCAST_EXCLUDE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ip_mc_join_group               ; -- Begin function ip_mc_join_group
	.p2align	2
_ip_mc_join_group:                      ; @ip_mc_join_group
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x23, x0
	ldr	x19, [x1, #8]
	bl	_inet_sk
	mov	x21, x0
	mov	x0, x23
	bl	_sock_net
	mov	x22, x0
	mov	x0, x19
	bl	_ipv4_is_multicast
	cbz	w0, LBB0_7
; %bb.1:
	bl	_rtnl_lock
	mov	x0, x22
	mov	x1, x20
	bl	_ip_mc_find_dev
	cbz	x0, LBB0_8
; %bb.2:
	mov	x22, x0
	ldr	x9, [x21]
	cbz	x9, LBB0_9
; %bb.3:
	mov	w8, #0
Lloh0:
	adrp	x10, _EADDRINUSE@GOTPAGE
Lloh1:
	ldr	x10, [x10, _EADDRINUSE@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	neg	w24, w10
	ldr	w10, [x20]
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w8, w8, #1
	ldr	x9, [x9, #16]
	cbz	x9, LBB0_10
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x9, #32]
	cmp	x11, x19
	b.ne	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w11, [x9, #24]
	cmp	w11, w10
	b.ne	LBB0_4
	b	LBB0_13
LBB0_7:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w24, w8
	b	LBB0_14
LBB0_8:
Lloh6:
	adrp	x8, _ENODEV@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w24, w8
	b	LBB0_13
LBB0_9:
	mov	w8, #0
LBB0_10:
Lloh9:
	adrp	x9, _ENOBUFS@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ENOBUFS@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	neg	w24, w9
Lloh12:
	adrp	x9, _sysctl_igmp_max_memberships@GOTPAGE
Lloh13:
	ldr	x9, [x9, _sysctl_igmp_max_memberships@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ge	LBB0_13
; %bb.11:
Lloh15:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x0, x23
	mov	w1, #40
	bl	_sock_kmalloc
	cbz	x0, LBB0_13
; %bb.12:
	mov	x23, x0
	add	x0, x0, #24
	mov	x1, x20
	mov	w2, #16
	bl	_memcpy
	ldr	x0, [x21]
	stp	xzr, x0, [x23, #8]
Lloh18:
	adrp	x8, _MCAST_EXCLUDE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MCAST_EXCLUDE@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	str	w8, [x23]
	mov	x1, x23
	bl	_rcu_assign_pointer
	mov	x0, x22
	mov	x1, x19
	bl	_ip_mc_inc_group
	mov	w24, #0
LBB0_13:
	bl	_rtnl_unlock
LBB0_14:
	mov	x0, x24
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_EADDRINUSE,4,2                 ; @EADDRINUSE
	.comm	_ENOBUFS,4,2                    ; @ENOBUFS
	.comm	_sysctl_igmp_max_memberships,4,2 ; @sysctl_igmp_max_memberships
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_MCAST_EXCLUDE,4,2              ; @MCAST_EXCLUDE
.subsections_via_symbols
