	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function igi_alloc_locked
_igi_alloc_locked:                      ## @igi_alloc_locked
	.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, %r14
	xorl	%eax, %eax
	callq	_IGMP_LOCK_ASSERT
	movq	_M_IGMP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_M_NOWAIT@GOTPCREL(%rip), %rax
	movq	_M_ZERO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movl	$48, %edi
	callq	_malloc
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%r14, 40(%rbx)
	movq	_V_igmp_default_version@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	$0, 24(%rbx)
	movq	_IGMP_RV_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	_IGMP_QI_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movq	_IGMP_QRI_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	_IGMP_URI_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	_IGMP_MAX_RESPONSE_PACKETS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_mbufq_init
	movq	_igi_link@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_V_igi_head@GOTPCREL(%rip), %rdi
	movq	%rbx, %rsi
	callq	_LIST_INSERT_HEAD
	movq	_KTR_IGMPV3@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %ecx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdx
	callq	_CTR2
LBB0_2:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_M_IGMP,4,2                     ## @M_IGMP
	.comm	_M_NOWAIT,4,2                   ## @M_NOWAIT
	.comm	_M_ZERO,4,2                     ## @M_ZERO
	.comm	_V_igmp_default_version,4,2     ## @V_igmp_default_version
	.comm	_IGMP_RV_INIT,4,2               ## @IGMP_RV_INIT
	.comm	_IGMP_QI_INIT,4,2               ## @IGMP_QI_INIT
	.comm	_IGMP_QRI_INIT,4,2              ## @IGMP_QRI_INIT
	.comm	_IGMP_URI_INIT,4,2              ## @IGMP_URI_INIT
	.comm	_IGMP_MAX_RESPONSE_PACKETS,4,2  ## @IGMP_MAX_RESPONSE_PACKETS
	.comm	_V_igi_head,4,2                 ## @V_igi_head
	.comm	_igi_link,4,2                   ## @igi_link
	.comm	_KTR_IGMPV3,4,2                 ## @KTR_IGMPV3
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"allocate igmp_ifsoftc for ifp %p(%s)"

	.no_dead_strip	_igi_alloc_locked
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function igi_alloc_locked
_igi_alloc_locked:                      ; @igi_alloc_locked
	.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
	bl	_IGMP_LOCK_ASSERT
Lloh0:
	adrp	x8, _M_IGMP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _M_IGMP@GOTPAGEOFF]
Lloh2:
	adrp	x9, _M_NOWAIT@GOTPAGE
Lloh3:
	ldr	x9, [x9, _M_NOWAIT@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	ldr	w8, [x9]
Lloh6:
	adrp	x9, _M_ZERO@GOTPAGE
Lloh7:
	ldr	x9, [x9, _M_ZERO@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	w0, #48
	bl	_malloc
	mov	x20, x0
	cbz	x0, LBB0_2
; %bb.1:
	str	x19, [x20, #40]
Lloh9:
	adrp	x8, _V_igmp_default_version@GOTPAGE
Lloh10:
	ldr	x8, [x8, _V_igmp_default_version@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x20, #32]
Lloh12:
	adrp	x8, _IGMP_RV_INIT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IGMP_RV_INIT@GOTPAGEOFF]
	str	xzr, [x20, #24]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _IGMP_QI_INIT@GOTPAGE
Lloh16:
	ldr	x9, [x9, _IGMP_QI_INIT@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #12]
Lloh18:
	adrp	x8, _IGMP_QRI_INIT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _IGMP_QRI_INIT@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _IGMP_URI_INIT@GOTPAGE
Lloh22:
	ldr	x9, [x9, _IGMP_URI_INIT@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #4]
Lloh24:
	adrp	x8, _IGMP_MAX_RESPONSE_PACKETS@GOTPAGE
Lloh25:
	ldr	x8, [x8, _IGMP_MAX_RESPONSE_PACKETS@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_mbufq_init
Lloh27:
	adrp	x8, _igi_link@GOTPAGE
Lloh28:
	ldr	x8, [x8, _igi_link@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x8]
Lloh30:
	adrp	x0, _V_igi_head@GOTPAGE
Lloh31:
	ldr	x0, [x0, _V_igi_head@GOTPAGEOFF]
	mov	x1, x20
	bl	_LIST_INSERT_HEAD
Lloh32:
	adrp	x8, _KTR_IGMPV3@GOTPAGE
Lloh33:
	ldr	x8, [x8, _KTR_IGMPV3@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
	ldr	w3, [x19]
Lloh35:
	adrp	x1, l_.str@PAGE
Lloh36:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_CTR2
LBB0_2:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_M_IGMP,4,2                     ; @M_IGMP
	.comm	_M_NOWAIT,4,2                   ; @M_NOWAIT
	.comm	_M_ZERO,4,2                     ; @M_ZERO
	.comm	_V_igmp_default_version,4,2     ; @V_igmp_default_version
	.comm	_IGMP_RV_INIT,4,2               ; @IGMP_RV_INIT
	.comm	_IGMP_QI_INIT,4,2               ; @IGMP_QI_INIT
	.comm	_IGMP_QRI_INIT,4,2              ; @IGMP_QRI_INIT
	.comm	_IGMP_URI_INIT,4,2              ; @IGMP_URI_INIT
	.comm	_IGMP_MAX_RESPONSE_PACKETS,4,2  ; @IGMP_MAX_RESPONSE_PACKETS
	.comm	_V_igi_head,4,2                 ; @V_igi_head
	.comm	_igi_link,4,2                   ; @igi_link
	.comm	_KTR_IGMPV3,4,2                 ; @KTR_IGMPV3
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"allocate igmp_ifsoftc for ifp %p(%s)"

	.no_dead_strip	_igi_alloc_locked
.subsections_via_symbols
