	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sgiseeq_set_multicast
_sgiseeq_set_multicast:                 ## @sgiseeq_set_multicast
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_netdev_priv
	movb	(%rax), %cl
	movl	(%rbx), %edx
	movq	_IFF_PROMISC@GOTPCREL(%rip), %rsi
	testl	%edx, (%rsi)
	je	LBB0_2
## %bb.1:
	movq	_SEEQ_RCMD_RANY@GOTPCREL(%rip), %rdx
	jmp	LBB0_7
LBB0_2:
	movq	_IFF_ALLMULTI@GOTPCREL(%rip), %rsi
	testl	%edx, (%rsi)
	jne	LBB0_6
## %bb.4:
	cmpq	$0, 8(%rbx)
	jne	LBB0_6
## %bb.5:
	movq	_SEEQ_RCMD_RBCAST@GOTPCREL(%rip), %rdx
	jmp	LBB0_7
LBB0_6:
	movq	_SEEQ_RCMD_RBMCAST@GOTPCREL(%rip), %rdx
LBB0_7:
	movb	(%rdx), %dl
	movb	%dl, (%rax)
	cmpb	%dl, %cl
	jne	LBB0_9
## %bb.8:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_9:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_sgiseeq_reset                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IFF_PROMISC,4,2                ## @IFF_PROMISC
	.comm	_SEEQ_RCMD_RANY,1,0             ## @SEEQ_RCMD_RANY
	.comm	_IFF_ALLMULTI,4,2               ## @IFF_ALLMULTI
	.comm	_SEEQ_RCMD_RBMCAST,1,0          ## @SEEQ_RCMD_RBMCAST
	.comm	_SEEQ_RCMD_RBCAST,1,0           ## @SEEQ_RCMD_RBCAST
	.no_dead_strip	_sgiseeq_set_multicast
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sgiseeq_set_multicast
_sgiseeq_set_multicast:                 ; @sgiseeq_set_multicast
	.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	_netdev_priv
	ldrb	w8, [x0]
	ldr	w10, [x19]
Lloh0:
	adrp	x9, _IFF_PROMISC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IFF_PROMISC@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w10
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x9, _SEEQ_RCMD_RANY@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SEEQ_RCMD_RANY@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:
Lloh5:
	adrp	x9, _IFF_ALLMULTI@GOTPAGE
Lloh6:
	ldr	x9, [x9, _IFF_ALLMULTI@GOTPAGEOFF]
Lloh7:
	ldr	w11, [x9]
Lloh8:
	adrp	x9, _SEEQ_RCMD_RBMCAST@GOTPAGE
Lloh9:
	ldr	x9, [x9, _SEEQ_RCMD_RBMCAST@GOTPAGEOFF]
	tst	w11, w10
	b.ne	LBB0_4
; %bb.3:
	ldr	x10, [x19, #8]
Lloh10:
	adrp	x11, _SEEQ_RCMD_RBCAST@GOTPAGE
Lloh11:
	ldr	x11, [x11, _SEEQ_RCMD_RBCAST@GOTPAGEOFF]
	cmp	x10, #0
	csel	x9, x11, x9, eq
LBB0_4:
	ldrb	w9, [x9]
	strb	w9, [x0]
	cmp	w8, w9
	b.ne	LBB0_6
; %bb.5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_sgiseeq_reset
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_IFF_PROMISC,4,2                ; @IFF_PROMISC
	.comm	_SEEQ_RCMD_RANY,1,0             ; @SEEQ_RCMD_RANY
	.comm	_IFF_ALLMULTI,4,2               ; @IFF_ALLMULTI
	.comm	_SEEQ_RCMD_RBMCAST,1,0          ; @SEEQ_RCMD_RBMCAST
	.comm	_SEEQ_RCMD_RBCAST,1,0           ; @SEEQ_RCMD_RBCAST
	.no_dead_strip	_sgiseeq_set_multicast
.subsections_via_symbols
