	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function InitPacketAliasLog
_InitPacketAliasLog:                    ## @InitPacketAliasLog
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_LIBALIAS_LOCK_ASSERT
	movl	(%rbx), %eax
	notl	%eax
	movq	_PKT_ALIAS_LOG@GOTPCREL(%rip), %r15
	movl	$1, %r14d
	testl	%eax, (%r15)
	je	LBB0_4
## %bb.1:
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_fopen
	movl	%eax, 4(%rbx)
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	leaq	L_.str.2(%rip), %rsi
	movl	%eax, %edi
	callq	_fprintf
	movl	(%r15), %eax
	orl	%eax, (%rbx)
	jmp	LBB0_4
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_4:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PKT_ALIAS_LOG,4,2              ## @PKT_ALIAS_LOG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/var/log/alias.log"

L_.str.1:                               ## @.str.1
	.asciz	"w"

L_.str.2:                               ## @.str.2
	.asciz	"PacketAlias/InitPacketAliasLog: Packet alias logging enabled.\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_LIBALIAS_BUF_SIZE,4,2          ## @LIBALIAS_BUF_SIZE
	.no_dead_strip	_InitPacketAliasLog
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function InitPacketAliasLog
_InitPacketAliasLog:                    ; @InitPacketAliasLog
	.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	_LIBALIAS_LOCK_ASSERT
	ldr	w8, [x19]
Lloh0:
	adrp	x20, _PKT_ALIAS_LOG@GOTPAGE
Lloh1:
	ldr	x20, [x20, _PKT_ALIAS_LOG@GOTPAGEOFF]
	ldr	w9, [x20]
	bics	wzr, w9, w8
	b.eq	LBB0_3
; %bb.1:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fopen
	str	w0, [x19, #4]
	cbz	w0, LBB0_4
; %bb.2:
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_fprintf
	ldr	w8, [x20]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_3:
	mov	w0, #1
	b	LBB0_5
LBB0_4:
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_PKT_ALIAS_LOG,4,2              ; @PKT_ALIAS_LOG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/var/log/alias.log"

l_.str.1:                               ; @.str.1
	.asciz	"w"

l_.str.2:                               ; @.str.2
	.asciz	"PacketAlias/InitPacketAliasLog: Packet alias logging enabled.\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_LIBALIAS_BUF_SIZE,4,2          ; @LIBALIAS_BUF_SIZE
	.no_dead_strip	_InitPacketAliasLog
.subsections_via_symbols
