	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function be_send_pkt_to_bmc
_be_send_pkt_to_bmc:                    ## @be_send_pkt_to_bmc
	.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	%rsi, %r14
	movq	%rdi, %r13
	movq	(%rsi), %rax
	movq	8(%rax), %rbx
	callq	_be_is_os2bmc_enabled
	xorl	%r15d, %r15d
	testl	%eax, %eax
	je	LBB0_20
## %bb.1:
	movl	(%rbx), %edi
	callq	_is_multicast_ether_addr
	testl	%eax, %eax
	je	LBB0_20
## %bb.2:
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_is_mc_allowed_on_bmc
	movl	$1, %r12d
	testq	%rax, %rax
	jne	LBB0_19
## %bb.3:
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_is_bc_allowed_on_bmc
	testq	%rax, %rax
	jne	LBB0_19
## %bb.4:
	movq	(%r14), %rsi
	movq	%r13, %rdi
	callq	_is_arp_allowed_on_bmc
	testq	%rax, %rax
	je	LBB0_5
LBB0_19:
	movq	(%r14), %rsi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_be_insert_vlan_in_pkt
	movq	%rax, (%r14)
	movl	%r12d, %r15d
LBB0_20:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	(%r14), %rax
	movq	(%rax), %rbx
	movq	_ETH_P_IPV6@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	cmpq	%rax, %rbx
	jne	LBB0_11
## %bb.6:
	movq	(%r14), %rdi
	callq	_ipv6_hdr
	movq	(%rax), %rax
	movq	_IPPROTO_ICMPV6@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.7:
	movq	(%r14), %rdi
	callq	_icmp6_hdr
	movl	(%rax), %eax
	cmpl	$131, %eax
	je	LBB0_10
## %bb.8:
	cmpl	$130, %eax
	jne	LBB0_11
## %bb.9:
	movq	%r13, %rdi
	callq	_is_ipv6_ra_filt_enabled
	jmp	LBB0_18
LBB0_11:
	movq	(%r14), %rdi
	callq	_is_udp_pkt
	testq	%rax, %rax
	je	LBB0_20
## %bb.12:
	movq	(%r14), %rdi
	callq	_udp_hdr
	movl	(%rax), %edi
	callq	_ntohs
                                        ## kill: def $eax killed $eax def $rax
	addl	$-128, %eax
	cmpl	$6, %eax
	ja	LBB0_20
## %bb.13:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_16:
	movq	%r13, %rdi
	callq	_is_nbios_filt_enabled
	jmp	LBB0_18
LBB0_15:
	movq	%r13, %rdi
	callq	_is_dhcp_srvr_filt_enabled
	jmp	LBB0_18
LBB0_14:
	movq	%r13, %rdi
	callq	_is_dhcp_client_filt_enabled
	jmp	LBB0_18
LBB0_17:
	movq	%r13, %rdi
	callq	_is_ipv6_ras_filt_enabled
	jmp	LBB0_18
LBB0_10:
	movq	%r13, %rdi
	callq	_is_ipv6_na_filt_enabled
LBB0_18:
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_19
	jmp	LBB0_20
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
LJTI0_0:
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_15
	.long	L0_0_set_14
	.long	L0_0_set_17
	.end_data_region
                                        ## -- End function
	.comm	_ETH_P_IPV6,4,2                 ## @ETH_P_IPV6
	.comm	_IPPROTO_ICMPV6,8,3             ## @IPPROTO_ICMPV6
	.no_dead_strip	_be_send_pkt_to_bmc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function be_send_pkt_to_bmc
_be_send_pkt_to_bmc:                    ; @be_send_pkt_to_bmc
	.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	x19, x1
	mov	x20, x0
	ldr	x8, [x1]
	ldr	x21, [x8, #8]
	bl	_be_is_os2bmc_enabled
	cbz	w0, LBB0_16
; %bb.1:
	ldr	w0, [x21]
	bl	_is_multicast_ether_addr
	cbz	w0, LBB0_16
; %bb.2:
	mov	x0, x20
	mov	x1, x21
	bl	_is_mc_allowed_on_bmc
	cbnz	x0, LBB0_5
; %bb.3:
	mov	x0, x20
	mov	x1, x21
	bl	_is_bc_allowed_on_bmc
	cbnz	x0, LBB0_5
; %bb.4:
	ldr	x1, [x19]
	mov	x0, x20
	bl	_is_arp_allowed_on_bmc
	cbz	x0, LBB0_7
LBB0_5:
	mov	w21, #1
LBB0_6:
	ldr	x1, [x19]
	mov	x0, x20
	mov	x2, #0
	bl	_be_insert_vlan_in_pkt
	str	x0, [x19]
	b	LBB0_17
LBB0_7:
	ldr	x8, [x19]
	ldr	x21, [x8]
Lloh0:
	adrp	x8, _ETH_P_IPV6@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_P_IPV6@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_htons
	cmp	x21, x0
	b.ne	LBB0_12
; %bb.8:
	ldr	x0, [x19]
	bl	_ipv6_hdr
	ldr	x8, [x0]
Lloh3:
	adrp	x9, _IPPROTO_ICMPV6@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IPPROTO_ICMPV6@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.9:
	ldr	x0, [x19]
	bl	_icmp6_hdr
	ldr	w8, [x0]
	cmp	w8, #131
	b.eq	LBB0_21
; %bb.10:
	cmp	w8, #130
	b.ne	LBB0_12
; %bb.11:
	mov	x0, x20
	bl	_is_ipv6_ra_filt_enabled
	b	LBB0_22
LBB0_12:
	ldr	x0, [x19]
	bl	_is_udp_pkt
	cbz	x0, LBB0_16
; %bb.13:
	ldr	x0, [x19]
	bl	_udp_hdr
	ldr	w0, [x0]
	bl	_ntohs
	mov	w21, #0
	sub	w8, w0, #128
	cmp	w8, #6
	b.hi	LBB0_17
; %bb.14:
Lloh6:
	adrp	x9, lJTI0_0@PAGE
Lloh7:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_15
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_15:
	mov	x0, x20
	bl	_is_nbios_filt_enabled
	b	LBB0_22
LBB0_16:
	mov	w21, #0
LBB0_17:
	mov	x0, x21
	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
LBB0_18:
	mov	x0, x20
	bl	_is_dhcp_srvr_filt_enabled
	b	LBB0_22
LBB0_19:
	mov	x0, x20
	bl	_is_dhcp_client_filt_enabled
	b	LBB0_22
LBB0_20:
	mov	x0, x20
	bl	_is_ipv6_ras_filt_enabled
	b	LBB0_22
LBB0_21:
	mov	x0, x20
	bl	_is_ipv6_na_filt_enabled
LBB0_22:
	mov	x21, x0
	cbnz	w0, LBB0_6
	b	LBB0_17
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_15-LBB0_15)>>2
	.byte	(LBB0_15-LBB0_15)>>2
	.byte	(LBB0_17-LBB0_15)>>2
	.byte	(LBB0_17-LBB0_15)>>2
	.byte	(LBB0_18-LBB0_15)>>2
	.byte	(LBB0_19-LBB0_15)>>2
	.byte	(LBB0_20-LBB0_15)>>2
                                        ; -- End function
	.comm	_ETH_P_IPV6,4,2                 ; @ETH_P_IPV6
	.comm	_IPPROTO_ICMPV6,8,3             ; @IPPROTO_ICMPV6
	.no_dead_strip	_be_send_pkt_to_bmc
.subsections_via_symbols
