	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function in6_joingroup_legacy
_in6_joingroup_legacy:                  ## @in6_joingroup_legacy
	.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
	movl	%ecx, %r13d
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	_M_IP6MADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_M_NOWAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$4, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	_PR_FASTHZ@GOTPCREL(%rip), %rax
	imull	(%rax), %r13d
	movq	_hz@GOTPCREL(%rip), %rcx
	movl	%r13d, %eax
	cltd
	idivl	(%rcx)
	movq	%r12, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	movq	%rbx, %rcx
	movl	%eax, %r8d
	callq	_in6_joingroup
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	movl	%eax, (%r14)
	movq	_M_IP6MADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_free
	jmp	LBB0_4
LBB0_1:
	movq	_ENOBUFS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
LBB0_4:
	xorl	%ebx, %ebx
LBB0_5:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_M_IP6MADDR,4,2                 ## @M_IP6MADDR
	.comm	_M_NOWAIT,4,2                   ## @M_NOWAIT
	.comm	_ENOBUFS,4,2                    ## @ENOBUFS
	.comm	_PR_FASTHZ,4,2                  ## @PR_FASTHZ
	.comm	_hz,4,2                         ## @hz
	.no_dead_strip	_in6_joingroup_legacy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function in6_joingroup_legacy
_in6_joingroup_legacy:                  ; @in6_joingroup_legacy
	.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	x23, x3
	mov	x19, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x24, _M_IP6MADDR@GOTPAGE
Lloh1:
	ldr	x24, [x24, _M_IP6MADDR@GOTPAGEOFF]
	ldr	w1, [x24]
Lloh2:
	adrp	x8, _M_NOWAIT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _M_NOWAIT@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	w0, #4
	bl	_malloc
	mov	x20, x0
	cbz	x0, LBB0_3
; %bb.1:
Lloh5:
	adrp	x8, _PR_FASTHZ@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PR_FASTHZ@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	mul	w8, w8, w23
Lloh8:
	adrp	x9, _hz@GOTPAGE
Lloh9:
	ldr	x9, [x9, _hz@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	sdiv	w4, w8, w9
	mov	x0, x22
	mov	x1, x21
	mov	x2, #0
	mov	x3, x20
	bl	_in6_joingroup
	cbz	w0, LBB0_4
; %bb.2:
	str	w0, [x19]
	ldr	w1, [x24]
	mov	x0, x20
	bl	_free
	mov	x20, #0
	b	LBB0_4
LBB0_3:
Lloh11:
	adrp	x8, _ENOBUFS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOBUFS@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	str	w8, [x19]
LBB0_4:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_M_IP6MADDR,4,2                 ; @M_IP6MADDR
	.comm	_M_NOWAIT,4,2                   ; @M_NOWAIT
	.comm	_ENOBUFS,4,2                    ; @ENOBUFS
	.comm	_PR_FASTHZ,4,2                  ; @PR_FASTHZ
	.comm	_hz,4,2                         ; @hz
	.no_dead_strip	_in6_joingroup_legacy
.subsections_via_symbols
