	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dev_change_flags               ## -- Begin function dev_change_flags
	.p2align	4, 0x90
_dev_change_flags:                      ## @dev_change_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	%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
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movl	(%rdi), %r13d
	xorl	%eax, %eax
	callq	_ASSERT_RTNL
	movq	_IFF_DEBUG@GOTPCREL(%rip), %rcx
	movq	_IFF_NOTRAILERS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	movq	_IFF_NOARP@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_IFF_DYNAMIC@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_IFF_MULTICAST@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_IFF_PORTSEL@GOTPCREL(%rip), %rdx
	orl	(%rdx), %eax
	movq	_IFF_AUTOMEDIA@GOTPCREL(%rip), %rdx
	orl	(%rdx), %eax
	movq	_IFF_UP@GOTPCREL(%rip), %rsi
	movq	_IFF_VOLATILE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movq	%rsi, %r14
	orl	(%rsi), %edx
	movq	_IFF_PROMISC@GOTPCREL(%rip), %rsi
	orl	(%rsi), %edx
	movq	_IFF_ALLMULTI@GOTPCREL(%rip), %rsi
	orl	(%rsi), %edx
	andl	%r15d, %eax
	andl	(%rbx), %edx
	orl	%eax, %edx
	movl	%edx, (%rbx)
	movl	%r13d, %r12d
	xorl	%r15d, %r12d
	movl	(%rcx), %esi
	testl	%r12d, %esi
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_dev_change_rx_flags
LBB0_2:
	movq	%rbx, %rdi
	callq	_dev_set_rx_mode
	movl	(%r14), %eax
	testl	%r12d, %eax
	je	LBB0_3
## %bb.4:
	testl	%r13d, %eax
	jne	LBB0_5
## %bb.6:
	movq	_dev_open@GOTPCREL(%rip), %rcx
	jmp	LBB0_7
LBB0_3:
	movq	%r14, %r12
	jmp	LBB0_9
LBB0_5:
	movq	_dev_close@GOTPCREL(%rip), %rcx
LBB0_7:
	movq	%r14, %r12
	movq	%rbx, %rdi
	callq	*%rcx
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_10
## %bb.8:
	movq	%rbx, %rdi
	callq	_dev_set_rx_mode
LBB0_9:
	xorl	%r14d, %r14d
LBB0_10:
	movl	(%rbx), %eax
	movl	(%r12), %ecx
	testl	%eax, %ecx
	je	LBB0_13
## %bb.11:
	xorl	%r13d, %eax
	movq	_IFF_PROMISC@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movq	_IFF_ALLMULTI@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movq	_IFF_VOLATILE@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	notl	%ecx
	testl	%ecx, %eax
	je	LBB0_13
## %bb.12:
	movq	_NETDEV_CHANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_call_netdevice_notifiers
LBB0_13:
	movl	4(%rbx), %eax
	movl	%eax, %ecx
	xorl	%r15d, %ecx
	movq	_IFF_PROMISC@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, %ecx
	je	LBB0_15
## %bb.14:
	movl	%edx, %ecx
	andl	%r15d, %ecx
	xorl	%esi, %esi
	cmpl	$1, %ecx
	sbbl	%esi, %esi
	orl	$1, %esi
	xorl	%edx, %eax
	movl	%eax, 4(%rbx)
	movq	%rbx, %rdi
	callq	_dev_set_promiscuity
	movl	4(%rbx), %eax
	movl	%eax, %ecx
	xorl	%r15d, %ecx
LBB0_15:
	movq	_IFF_ALLMULTI@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, %ecx
	je	LBB0_17
## %bb.16:
	andl	%edx, %r15d
	xorl	%esi, %esi
	cmpl	$1, %r15d
	sbbl	%esi, %esi
	orl	$1, %esi
	xorl	%edx, %eax
	movl	%eax, 4(%rbx)
	movq	%rbx, %rdi
	callq	_dev_set_allmulti
LBB0_17:
	xorl	(%rbx), %r13d
	movq	_IFF_RUNNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	orl	(%r12), %edx
	notl	%edx
	andl	%r13d, %edx
	je	LBB0_19
## %bb.18:
	movq	_RTM_NEWLINK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_rtmsg_ifinfo
LBB0_19:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IFF_DEBUG,4,2                  ## @IFF_DEBUG
	.comm	_IFF_NOTRAILERS,4,2             ## @IFF_NOTRAILERS
	.comm	_IFF_NOARP,4,2                  ## @IFF_NOARP
	.comm	_IFF_DYNAMIC,4,2                ## @IFF_DYNAMIC
	.comm	_IFF_MULTICAST,4,2              ## @IFF_MULTICAST
	.comm	_IFF_PORTSEL,4,2                ## @IFF_PORTSEL
	.comm	_IFF_AUTOMEDIA,4,2              ## @IFF_AUTOMEDIA
	.comm	_IFF_UP,4,2                     ## @IFF_UP
	.comm	_IFF_VOLATILE,4,2               ## @IFF_VOLATILE
	.comm	_IFF_PROMISC,4,2                ## @IFF_PROMISC
	.comm	_IFF_ALLMULTI,4,2               ## @IFF_ALLMULTI
	.comm	_NETDEV_CHANGE,4,2              ## @NETDEV_CHANGE
	.comm	_IFF_RUNNING,4,2                ## @IFF_RUNNING
	.comm	_RTM_NEWLINK,4,2                ## @RTM_NEWLINK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dev_change_flags               ; -- Begin function dev_change_flags
	.p2align	2
_dev_change_flags:                      ; @dev_change_flags
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x1
	mov	x19, x0
	ldr	w22, [x0]
	bl	_ASSERT_RTNL
Lloh0:
	adrp	x8, _IFF_DEBUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IFF_DEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _IFF_NOTRAILERS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IFF_NOTRAILERS@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _IFF_NOARP@GOTPAGE
Lloh7:
	ldr	x10, [x10, _IFF_NOARP@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh8:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh9:
	adrp	x9, _IFF_DYNAMIC@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IFF_DYNAMIC@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh12:
	adrp	x9, _IFF_MULTICAST@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IFF_MULTICAST@GOTPAGEOFF]
	ldr	w10, [x9]
Lloh14:
	adrp	x11, _IFF_PORTSEL@GOTPAGE
Lloh15:
	ldr	x11, [x11, _IFF_PORTSEL@GOTPAGEOFF]
	orr	w8, w8, w10
Lloh16:
	ldr	w10, [x11]
	orr	w8, w8, w10
Lloh17:
	adrp	x10, _IFF_AUTOMEDIA@GOTPAGE
Lloh18:
	ldr	x10, [x10, _IFF_AUTOMEDIA@GOTPAGEOFF]
Lloh19:
	ldr	w10, [x10]
	orr	w8, w8, w10
	and	w8, w8, w20
	ldr	w10, [x19]
Lloh20:
	adrp	x23, _IFF_UP@GOTPAGE
Lloh21:
	ldr	x23, [x23, _IFF_UP@GOTPAGEOFF]
	ldr	w11, [x23]
Lloh22:
	adrp	x26, _IFF_VOLATILE@GOTPAGE
Lloh23:
	ldr	x26, [x26, _IFF_VOLATILE@GOTPAGEOFF]
	ldr	w12, [x26]
	orr	w11, w12, w11
Lloh24:
	adrp	x25, _IFF_PROMISC@GOTPAGE
Lloh25:
	ldr	x25, [x25, _IFF_PROMISC@GOTPAGEOFF]
	ldr	w12, [x25]
	orr	w11, w11, w12
Lloh26:
	adrp	x24, _IFF_ALLMULTI@GOTPAGE
Lloh27:
	ldr	x24, [x24, _IFF_ALLMULTI@GOTPAGEOFF]
	ldr	w12, [x24]
	orr	w11, w11, w12
	and	w10, w11, w10
	orr	w8, w10, w8
	str	w8, [x19]
	eor	w21, w22, w20
	ldr	w1, [x9]
	tst	w1, w21
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_dev_change_rx_flags
LBB0_2:
	mov	x0, x19
	bl	_dev_set_rx_mode
	ldr	w8, [x23]
	tst	w8, w21
	b.eq	LBB0_5
; %bb.3:
Lloh28:
	adrp	x9, _dev_close@GOTPAGE
Lloh29:
	ldr	x9, [x9, _dev_close@GOTPAGEOFF]
Lloh30:
	adrp	x10, _dev_open@GOTPAGE
Lloh31:
	ldr	x10, [x10, _dev_open@GOTPAGEOFF]
	tst	w8, w22
	csel	x8, x10, x9, eq
	mov	x0, x19
	blr	x8
	mov	x21, x0
	cbnz	w0, LBB0_6
; %bb.4:
	mov	x0, x19
	bl	_dev_set_rx_mode
	b	LBB0_6
LBB0_5:
	mov	w21, #0
LBB0_6:
	ldr	w9, [x19]
	ldr	w8, [x23]
	tst	w8, w9
	b.eq	LBB0_9
; %bb.7:
	eor	w9, w9, w22
	ldr	w10, [x25]
	orr	w8, w10, w8
	ldr	w10, [x24]
	orr	w8, w8, w10
	ldr	w10, [x26]
	orr	w8, w8, w10
	bics	wzr, w9, w8
	b.eq	LBB0_9
; %bb.8:
Lloh32:
	adrp	x8, _NETDEV_CHANGE@GOTPAGE
Lloh33:
	ldr	x8, [x8, _NETDEV_CHANGE@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_call_netdevice_notifiers
LBB0_9:
	ldr	w8, [x19, #4]
	eor	w9, w8, w20
	ldr	w10, [x25]
	tst	w9, w10
	b.eq	LBB0_11
; %bb.10:
	tst	w10, w20
	mov	w9, #-1
	cneg	w1, w9, ne
	eor	w8, w10, w8
	str	w8, [x19, #4]
	mov	x0, x19
	bl	_dev_set_promiscuity
	ldr	w8, [x19, #4]
	eor	w9, w8, w20
LBB0_11:
	ldr	w10, [x24]
	tst	w9, w10
	b.eq	LBB0_13
; %bb.12:
	tst	w10, w20
	mov	w9, #-1
	cneg	w1, w9, ne
	eor	w8, w10, w8
	str	w8, [x19, #4]
	mov	x0, x19
	bl	_dev_set_allmulti
LBB0_13:
	ldr	w8, [x19]
	eor	w8, w8, w22
	ldr	w9, [x23]
Lloh35:
	adrp	x10, _IFF_RUNNING@GOTPAGE
Lloh36:
	ldr	x10, [x10, _IFF_RUNNING@GOTPAGEOFF]
Lloh37:
	ldr	w10, [x10]
	orr	w9, w10, w9
	bics	w2, w8, w9
	b.eq	LBB0_15
; %bb.14:
Lloh38:
	adrp	x8, _RTM_NEWLINK@GOTPAGE
Lloh39:
	ldr	x8, [x8, _RTM_NEWLINK@GOTPAGEOFF]
Lloh40:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_rtmsg_ifinfo
LBB0_15:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.comm	_IFF_DEBUG,4,2                  ; @IFF_DEBUG
	.comm	_IFF_NOTRAILERS,4,2             ; @IFF_NOTRAILERS
	.comm	_IFF_NOARP,4,2                  ; @IFF_NOARP
	.comm	_IFF_DYNAMIC,4,2                ; @IFF_DYNAMIC
	.comm	_IFF_MULTICAST,4,2              ; @IFF_MULTICAST
	.comm	_IFF_PORTSEL,4,2                ; @IFF_PORTSEL
	.comm	_IFF_AUTOMEDIA,4,2              ; @IFF_AUTOMEDIA
	.comm	_IFF_UP,4,2                     ; @IFF_UP
	.comm	_IFF_VOLATILE,4,2               ; @IFF_VOLATILE
	.comm	_IFF_PROMISC,4,2                ; @IFF_PROMISC
	.comm	_IFF_ALLMULTI,4,2               ; @IFF_ALLMULTI
	.comm	_NETDEV_CHANGE,4,2              ; @NETDEV_CHANGE
	.comm	_IFF_RUNNING,4,2                ; @IFF_RUNNING
	.comm	_RTM_NEWLINK,4,2                ; @RTM_NEWLINK
.subsections_via_symbols
