	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CalcPacketLoggingLevelEx       ## -- Begin function CalcPacketLoggingLevelEx
	.p2align	4, 0x90
_CalcPacketLoggingLevelEx:              ## @CalcPacketLoggingLevelEx
	.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
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.1:
	movq	%rsi, %r14
	testq	%rsi, %rsi
	je	LBB0_8
## %bb.2:
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_PACKET_LOG_ETHERNET@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %esi
	xorl	%edi, %edi
	callq	_MAX
	movl	(%r14), %ecx
	cmpl	$136, %ecx
	je	LBB0_9
## %bb.3:
	cmpl	$138, %ecx
	je	LBB0_15
## %bb.4:
	cmpl	$137, %ecx
	jne	LBB0_22
## %bb.5:
	movq	(%rbx), %rcx
	movq	_PACKET_LOG_IP@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	(%rcx,%rdx,4), %esi
	movl	%eax, %edi
	callq	_MAX
	movl	32(%r14), %ecx
	cmpl	$132, %ecx
	je	LBB0_16
## %bb.6:
	cmpl	$135, %ecx
	je	LBB0_20
LBB0_11:
	cmpl	$133, %ecx
	jne	LBB0_22
## %bb.12:
	movq	(%rbx), %rcx
	movq	_PACKET_LOG_TCP@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	(%rcx,%rdx,4), %esi
	movl	%eax, %edi
	callq	_MAX
	movq	24(%r14), %rcx
	movl	(%rcx), %edx
	movq	_TCP_SYN@GOTPCREL(%rip), %rsi
	movq	_PACKET_LOG_TCP_CONN@GOTPCREL(%rip), %rcx
	testl	%edx, (%rsi)
	jne	LBB0_21
## %bb.13:
	movq	_TCP_RST@GOTPCREL(%rip), %rsi
	testl	%edx, (%rsi)
	jne	LBB0_21
## %bb.14:
	movq	_TCP_FIN@GOTPCREL(%rip), %rsi
	testl	%edx, (%rsi)
	jne	LBB0_21
	jmp	LBB0_22
LBB0_8:
	movq	_PACKET_LOG_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_24
LBB0_9:
	movq	(%rbx), %rcx
	movq	_PACKET_LOG_IP@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	(%rcx,%rdx,4), %esi
	movl	%eax, %edi
	callq	_MAX
	movl	32(%r14), %ecx
	cmpl	$132, %ecx
	je	LBB0_18
## %bb.10:
	cmpl	$134, %ecx
	jne	LBB0_11
LBB0_20:
	movq	_PACKET_LOG_ICMP@GOTPCREL(%rip), %rcx
	jmp	LBB0_21
LBB0_15:
	movq	_PACKET_LOG_ARP@GOTPCREL(%rip), %rcx
	jmp	LBB0_21
LBB0_16:
	movq	(%rbx), %rcx
	movq	_PACKET_LOG_UDP@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	(%rcx,%rdx,4), %esi
	movl	%eax, %edi
	callq	_MAX
	movl	16(%r14), %edx
	addl	$-128, %edx
	cmpl	$3, %edx
	ja	LBB0_22
## %bb.17:
	movq	_PACKET_LOG_DHCP@GOTPCREL(%rip), %rcx
	leaq	LJTI0_0(%rip), %rsi
	movslq	(%rsi,%rdx,4), %rdx
	addq	%rsi, %rdx
	jmpq	*%rdx
LBB0_18:
	movq	(%rbx), %rcx
	movq	_PACKET_LOG_UDP@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	(%rcx,%rdx,4), %esi
	movl	%eax, %edi
	callq	_MAX
	movl	16(%r14), %ecx
	addl	$-128, %ecx
	cmpl	$2, %ecx
	ja	LBB0_22
LBB0_19:
	movq	_PACKET_LOG_TCP_CONN@GOTPCREL(%rip), %rcx
LBB0_21:
	movq	(%rbx), %rdx
	movq	(%rcx), %rcx
	movl	(%rdx,%rcx,4), %esi
	movl	%eax, %edi
	callq	_MAX
LBB0_22:
	cmpq	$0, 8(%r14)
	je	LBB0_24
## %bb.23:
	movq	(%rbx), %rcx
	movq	_PACKET_LOG_TCP_CONN@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	(%rcx,%rdx,4), %esi
	movl	%eax, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_MAX                            ## TAILCALL
LBB0_24:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
LJTI0_0:
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_21
	.end_data_region
                                        ## -- End function
	.comm	_PACKET_LOG_NONE,4,2            ## @PACKET_LOG_NONE
	.comm	_PACKET_LOG_ETHERNET,8,3        ## @PACKET_LOG_ETHERNET
	.comm	_PACKET_LOG_ARP,8,3             ## @PACKET_LOG_ARP
	.comm	_PACKET_LOG_IP,8,3              ## @PACKET_LOG_IP
	.comm	_PACKET_LOG_ICMP,8,3            ## @PACKET_LOG_ICMP
	.comm	_PACKET_LOG_TCP,8,3             ## @PACKET_LOG_TCP
	.comm	_TCP_SYN,4,2                    ## @TCP_SYN
	.comm	_TCP_RST,4,2                    ## @TCP_RST
	.comm	_TCP_FIN,4,2                    ## @TCP_FIN
	.comm	_PACKET_LOG_TCP_CONN,8,3        ## @PACKET_LOG_TCP_CONN
	.comm	_PACKET_LOG_UDP,8,3             ## @PACKET_LOG_UDP
	.comm	_PACKET_LOG_DHCP,8,3            ## @PACKET_LOG_DHCP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CalcPacketLoggingLevelEx       ; -- Begin function CalcPacketLoggingLevelEx
	.p2align	2
_CalcPacketLoggingLevelEx:              ; @CalcPacketLoggingLevelEx
	.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
	cbz	x0, LBB0_11
; %bb.1:
	mov	x20, x1
	cbz	x1, LBB0_11
; %bb.2:
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _PACKET_LOG_ETHERNET@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PACKET_LOG_ETHERNET@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	w1, [x8, x9, lsl #2]
	mov	w0, #0
	bl	_MAX
	ldr	w8, [x20]
	cmp	w8, #136
	b.eq	LBB0_12
; %bb.3:
	cmp	w8, #138
	b.eq	LBB0_15
; %bb.4:
	cmp	w8, #137
	b.ne	LBB0_21
; %bb.5:
	ldr	x8, [x19]
Lloh3:
	adrp	x9, _PACKET_LOG_IP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PACKET_LOG_IP@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	w1, [x8, x9, lsl #2]
	bl	_MAX
	ldr	w8, [x20, #32]
	cmp	w8, #132
	b.eq	LBB0_16
; %bb.6:
	cmp	w8, #135
	b.eq	LBB0_14
LBB0_7:
	cmp	w8, #133
	b.ne	LBB0_21
; %bb.8:
	ldr	x8, [x19]
Lloh6:
	adrp	x9, _PACKET_LOG_TCP@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PACKET_LOG_TCP@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	ldr	w1, [x8, x9, lsl #2]
	bl	_MAX
	ldr	x8, [x20, #24]
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _TCP_SYN@GOTPAGE
Lloh10:
	ldr	x9, [x9, _TCP_SYN@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_19
; %bb.9:
Lloh12:
	adrp	x9, _TCP_RST@GOTPAGE
Lloh13:
	ldr	x9, [x9, _TCP_RST@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_19
; %bb.10:
Lloh15:
	adrp	x9, _TCP_FIN@GOTPAGE
Lloh16:
	ldr	x9, [x9, _TCP_FIN@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_19
	b	LBB0_21
LBB0_11:
Lloh18:
	adrp	x8, _PACKET_LOG_NONE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _PACKET_LOG_NONE@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	b	LBB0_23
LBB0_12:
	ldr	x8, [x19]
Lloh21:
	adrp	x9, _PACKET_LOG_IP@GOTPAGE
Lloh22:
	ldr	x9, [x9, _PACKET_LOG_IP@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	ldr	w1, [x8, x9, lsl #2]
	bl	_MAX
	ldr	w8, [x20, #32]
	cmp	w8, #132
	b.eq	LBB0_18
; %bb.13:
	cmp	w8, #134
	b.ne	LBB0_7
LBB0_14:
Lloh24:
	adrp	x8, _PACKET_LOG_ICMP@GOTPAGE
Lloh25:
	ldr	x8, [x8, _PACKET_LOG_ICMP@GOTPAGEOFF]
	b	LBB0_20
LBB0_15:
Lloh26:
	adrp	x8, _PACKET_LOG_ARP@GOTPAGE
Lloh27:
	ldr	x8, [x8, _PACKET_LOG_ARP@GOTPAGEOFF]
	b	LBB0_20
LBB0_16:
	ldr	x8, [x19]
Lloh28:
	adrp	x9, _PACKET_LOG_UDP@GOTPAGE
Lloh29:
	ldr	x9, [x9, _PACKET_LOG_UDP@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	ldr	w1, [x8, x9, lsl #2]
	bl	_MAX
	ldr	w8, [x20, #16]
	sub	w9, w8, #128
	cmp	w9, #3
	b.hi	LBB0_21
; %bb.17:
Lloh31:
	adrp	x8, _PACKET_LOG_DHCP@GOTPAGE
Lloh32:
	ldr	x8, [x8, _PACKET_LOG_DHCP@GOTPAGEOFF]
Lloh33:
	adrp	x10, lJTI0_0@PAGE
Lloh34:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_19
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_18:
	ldr	x8, [x19]
Lloh35:
	adrp	x9, _PACKET_LOG_UDP@GOTPAGE
Lloh36:
	ldr	x9, [x9, _PACKET_LOG_UDP@GOTPAGEOFF]
Lloh37:
	ldr	x9, [x9]
	ldr	w1, [x8, x9, lsl #2]
	bl	_MAX
	ldr	w8, [x20, #16]
	sub	w8, w8, #128
	cmp	w8, #2
	b.hi	LBB0_21
LBB0_19:
Lloh38:
	adrp	x8, _PACKET_LOG_TCP_CONN@GOTPAGE
Lloh39:
	ldr	x8, [x8, _PACKET_LOG_TCP_CONN@GOTPAGEOFF]
LBB0_20:
	ldr	x9, [x19]
	ldr	x8, [x8]
	ldr	w1, [x9, x8, lsl #2]
	bl	_MAX
LBB0_21:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_23
; %bb.22:
Lloh40:
	adrp	x8, _PACKET_LOG_TCP_CONN@GOTPAGE
Lloh41:
	ldr	x8, [x8, _PACKET_LOG_TCP_CONN@GOTPAGEOFF]
	ldr	x9, [x19]
Lloh42:
	ldr	x8, [x8]
	ldr	w1, [x9, x8, lsl #2]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_MAX
LBB0_23:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_19-LBB0_19)>>2
	.byte	(LBB0_19-LBB0_19)>>2
	.byte	(LBB0_19-LBB0_19)>>2
	.byte	(LBB0_20-LBB0_19)>>2
                                        ; -- End function
	.comm	_PACKET_LOG_NONE,4,2            ; @PACKET_LOG_NONE
	.comm	_PACKET_LOG_ETHERNET,8,3        ; @PACKET_LOG_ETHERNET
	.comm	_PACKET_LOG_ARP,8,3             ; @PACKET_LOG_ARP
	.comm	_PACKET_LOG_IP,8,3              ; @PACKET_LOG_IP
	.comm	_PACKET_LOG_ICMP,8,3            ; @PACKET_LOG_ICMP
	.comm	_PACKET_LOG_TCP,8,3             ; @PACKET_LOG_TCP
	.comm	_TCP_SYN,4,2                    ; @TCP_SYN
	.comm	_TCP_RST,4,2                    ; @TCP_RST
	.comm	_TCP_FIN,4,2                    ; @TCP_FIN
	.comm	_PACKET_LOG_TCP_CONN,8,3        ; @PACKET_LOG_TCP_CONN
	.comm	_PACKET_LOG_UDP,8,3             ; @PACKET_LOG_UDP
	.comm	_PACKET_LOG_DHCP,8,3            ; @PACKET_LOG_DHCP
.subsections_via_symbols
