	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mac_mbuf_init                  ## -- Begin function mac_mbuf_init
	.p2align	4, 0x90
_mac_mbuf_init:                         ## @mac_mbuf_init
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r12d
	movq	%rdi, %r14
	callq	_M_ASSERTPKTHDR
	movq	_mac_labeled@GOTPCREL(%rip), %rax
	movq	_MPC_OBJECT_MBUF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%r15d, %r15d
	testl	%ecx, (%rax)
	je	LBB0_6
## %bb.1:
	movq	_PACKET_TAG_MACLABEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$4, %esi
	movl	%r12d, %edx
	callq	_m_tag_get
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %rbx
	movq	%rax, %rdi
	movl	%r12d, %esi
	callq	_mac_mbuf_tag_init
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movl	%eax, %r12d
	movq	%rbx, %rdi
	callq	_m_tag_free
	movl	%r12d, %r15d
	jmp	LBB0_6
LBB0_2:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	jmp	LBB0_6
LBB0_5:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_m_tag_prepend
LBB0_6:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mac_labeled,4,2                ## @mac_labeled
	.comm	_MPC_OBJECT_MBUF,4,2            ## @MPC_OBJECT_MBUF
	.comm	_PACKET_TAG_MACLABEL,4,2        ## @PACKET_TAG_MACLABEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mac_mbuf_init                  ; -- Begin function mac_mbuf_init
	.p2align	2
_mac_mbuf_init:                         ; @mac_mbuf_init
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x1
	mov	x19, x0
	bl	_M_ASSERTPKTHDR
Lloh0:
	adrp	x8, _mac_labeled@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mac_labeled@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _MPC_OBJECT_MBUF@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MPC_OBJECT_MBUF@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.1:
Lloh6:
	adrp	x8, _PACKET_TAG_MACLABEL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PACKET_TAG_MACLABEL@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	w1, #4
	mov	x2, x20
	bl	_m_tag_get
	cbz	x0, LBB0_5
; %bb.2:
	mov	x21, x0
	mov	x1, x20
	bl	_mac_mbuf_tag_init
	mov	x20, x0
	cbz	w0, LBB0_6
; %bb.3:
	mov	x0, x21
	bl	_m_tag_free
	b	LBB0_7
LBB0_4:
	mov	w20, #0
	b	LBB0_7
LBB0_5:
Lloh9:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh11:
	ldr	w20, [x8]
	b	LBB0_7
LBB0_6:
	mov	x0, x19
	mov	x1, x21
	bl	_m_tag_prepend
LBB0_7:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_mac_labeled,4,2                ; @mac_labeled
	.comm	_MPC_OBJECT_MBUF,4,2            ; @MPC_OBJECT_MBUF
	.comm	_PACKET_TAG_MACLABEL,4,2        ; @PACKET_TAG_MACLABEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
.subsections_via_symbols
