	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_grhead
_add_grhead:                            ## @add_grhead
	.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	%rcx, %r14
	movl	%edx, %r12d
	movq	%rsi, %r15
	movq	%rdi, %r13
	testq	%rdi, %rdi
	jne	LBB0_3
## %bb.1:
	movq	8(%r15), %rax
	movq	(%rax), %rdi
	movl	(%rdi), %esi
	callq	_mld_newpack
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_2
LBB0_3:
	movq	%r13, %rdi
	movl	$24, %esi
	callq	_skb_put
	movq	%rax, %rbx
	movl	%r12d, (%rax)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rax)
	movl	(%r15), %eax
	movl	%eax, 4(%rbx)
	movq	%r13, %rdi
	callq	_skb_transport_header
	movq	%rax, %r15
	movl	(%rax), %edi
	callq	_ntohs
	leaq	1(%rax), %rdi
	callq	_htons
	movl	%eax, (%r15)
	movq	%rbx, (%r14)
LBB0_4:
	movq	%r13, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	xorl	%r13d, %r13d
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_add_grhead
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_grhead
_add_grhead:                            ; @add_grhead
	.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	x19, x3
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x22, #8]
	ldr	x0, [x8]
	ldr	w1, [x0]
	bl	_mld_newpack
	mov	x20, x0
	cbz	x0, LBB0_3
LBB0_2:
	mov	x0, x20
	mov	w1, #24
	bl	_skb_put
	mov	x23, x0
	stp	xzr, xzr, [x0, #8]
	ldr	w8, [x22]
	stp	w21, w8, [x0]
	mov	x0, x20
	bl	_skb_transport_header
	mov	x21, x0
	ldr	w0, [x0]
	bl	_ntohs
	add	x0, x0, #1
	bl	_htons
	str	w0, [x21]
	str	x23, [x19]
LBB0_3:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_add_grhead
.subsections_via_symbols
