	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_new_flags
_get_new_flags:                         ## @get_new_flags
	.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, %r14
	movq	_OCTNET_IFFLAG_UNICAST@GOTPCREL(%rip), %rcx
	movl	(%rdi), %eax
	movq	_IFF_PROMISC@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
	andl	%eax, %ebx
	je	LBB0_2
## %bb.1:
	movq	_OCTNET_IFFLAG_PROMISC@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
LBB0_2:
	orl	(%rcx), %ebx
	movq	_IFF_ALLMULTI@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_OCTNET_IFFLAG_ALLMULTI@GOTPCREL(%rip), %r15
	andl	%eax, %ecx
	je	LBB0_4
## %bb.3:
	movl	(%r15), %ecx
LBB0_4:
	orl	%ecx, %ebx
	movq	_IFF_MULTICAST@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_7
## %bb.5:
	movq	_OCTNET_IFFLAG_MULTICAST@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	%r14, %rdi
	callq	_netdev_mc_count
	movq	_MAX_OCTEON_MULTICAST_ADDR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_7
## %bb.6:
	orl	(%r15), %ebx
LBB0_7:
	movq	_IFF_BROADCAST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%r14), %eax
	je	LBB0_9
## %bb.8:
	movq	_OCTNET_IFFLAG_BROADCAST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_9:
	orl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OCTNET_IFFLAG_UNICAST,4,2      ## @OCTNET_IFFLAG_UNICAST
	.comm	_IFF_PROMISC,4,2                ## @IFF_PROMISC
	.comm	_OCTNET_IFFLAG_PROMISC,4,2      ## @OCTNET_IFFLAG_PROMISC
	.comm	_IFF_ALLMULTI,4,2               ## @IFF_ALLMULTI
	.comm	_OCTNET_IFFLAG_ALLMULTI,4,2     ## @OCTNET_IFFLAG_ALLMULTI
	.comm	_IFF_MULTICAST,4,2              ## @IFF_MULTICAST
	.comm	_OCTNET_IFFLAG_MULTICAST,4,2    ## @OCTNET_IFFLAG_MULTICAST
	.comm	_MAX_OCTEON_MULTICAST_ADDR,8,3  ## @MAX_OCTEON_MULTICAST_ADDR
	.comm	_IFF_BROADCAST,4,2              ## @IFF_BROADCAST
	.comm	_OCTNET_IFFLAG_BROADCAST,4,2    ## @OCTNET_IFFLAG_BROADCAST
	.no_dead_strip	_get_new_flags
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_new_flags
_get_new_flags:                         ; @get_new_flags
	.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, x0
Lloh0:
	adrp	x8, _OCTNET_IFFLAG_UNICAST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OCTNET_IFFLAG_UNICAST@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x0]
Lloh3:
	adrp	x10, _IFF_PROMISC@GOTPAGE
Lloh4:
	ldr	x10, [x10, _IFF_PROMISC@GOTPAGEOFF]
Lloh5:
	adrp	x11, _OCTNET_IFFLAG_PROMISC@GOTPAGE
Lloh6:
	ldr	x11, [x11, _OCTNET_IFFLAG_PROMISC@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
Lloh8:
	ldr	w11, [x11]
	tst	w10, w9
	csel	w10, wzr, w11, eq
Lloh9:
	adrp	x11, _IFF_ALLMULTI@GOTPAGE
Lloh10:
	ldr	x11, [x11, _IFF_ALLMULTI@GOTPAGEOFF]
	orr	w8, w10, w8
Lloh11:
	ldr	w10, [x11]
Lloh12:
	adrp	x21, _OCTNET_IFFLAG_ALLMULTI@GOTPAGE
Lloh13:
	ldr	x21, [x21, _OCTNET_IFFLAG_ALLMULTI@GOTPAGEOFF]
	ldr	w11, [x21]
	tst	w10, w9
	csel	w10, wzr, w11, eq
	orr	w20, w8, w10
Lloh14:
	adrp	x8, _IFF_MULTICAST@GOTPAGE
Lloh15:
	ldr	x8, [x8, _IFF_MULTICAST@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	tst	w8, w9
	b.eq	LBB0_3
; %bb.1:
Lloh17:
	adrp	x8, _OCTNET_IFFLAG_MULTICAST@GOTPAGE
Lloh18:
	ldr	x8, [x8, _OCTNET_IFFLAG_MULTICAST@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	orr	w20, w8, w20
	mov	x0, x19
	bl	_netdev_mc_count
Lloh20:
	adrp	x8, _MAX_OCTEON_MULTICAST_ADDR@GOTPAGE
Lloh21:
	ldr	x8, [x8, _MAX_OCTEON_MULTICAST_ADDR@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	cmp	x0, x8
	b.le	LBB0_3
; %bb.2:
	ldr	w8, [x21]
	orr	w20, w8, w20
LBB0_3:
	ldr	w8, [x19]
Lloh23:
	adrp	x9, _IFF_BROADCAST@GOTPAGE
Lloh24:
	ldr	x9, [x9, _IFF_BROADCAST@GOTPAGEOFF]
Lloh25:
	adrp	x10, _OCTNET_IFFLAG_BROADCAST@GOTPAGE
Lloh26:
	ldr	x10, [x10, _OCTNET_IFFLAG_BROADCAST@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
Lloh28:
	ldr	w10, [x10]
	tst	w9, w8
	csel	w8, wzr, w10, eq
	orr	w0, w8, w20
	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	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_OCTNET_IFFLAG_UNICAST,4,2      ; @OCTNET_IFFLAG_UNICAST
	.comm	_IFF_PROMISC,4,2                ; @IFF_PROMISC
	.comm	_OCTNET_IFFLAG_PROMISC,4,2      ; @OCTNET_IFFLAG_PROMISC
	.comm	_IFF_ALLMULTI,4,2               ; @IFF_ALLMULTI
	.comm	_OCTNET_IFFLAG_ALLMULTI,4,2     ; @OCTNET_IFFLAG_ALLMULTI
	.comm	_IFF_MULTICAST,4,2              ; @IFF_MULTICAST
	.comm	_OCTNET_IFFLAG_MULTICAST,4,2    ; @OCTNET_IFFLAG_MULTICAST
	.comm	_MAX_OCTEON_MULTICAST_ADDR,8,3  ; @MAX_OCTEON_MULTICAST_ADDR
	.comm	_IFF_BROADCAST,4,2              ; @IFF_BROADCAST
	.comm	_OCTNET_IFFLAG_BROADCAST,4,2    ; @OCTNET_IFFLAG_BROADCAST
	.no_dead_strip	_get_new_flags
.subsections_via_symbols
