	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dev_get_flags                  ## -- Begin function dev_get_flags
	.p2align	4, 0x90
_dev_get_flags:                         ## @dev_get_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
	movq	_IFF_PROMISC@GOTPCREL(%rip), %rax
	movq	_IFF_ALLMULTI@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%rax), %ebx
	movq	_IFF_RUNNING@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	orl	%ebx, %eax
	movq	_IFF_LOWER_UP@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_IFF_DORMANT@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	%rdi, %r14
	notl	%eax
	andl	(%rdi), %eax
	andl	4(%rdi), %ebx
	orl	%eax, %ebx
	callq	_netif_running
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	%r14, %rdi
	callq	_netif_oper_up
	xorl	%r12d, %r12d
	movl	$0, %r15d
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	(%r13), %r15d
LBB0_3:
	orl	%ebx, %r15d
	movq	%r14, %rdi
	callq	_netif_carrier_ok
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_IFF_LOWER_UP@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_5:
	orl	%r12d, %r15d
	movq	%r14, %rdi
	callq	_netif_dormant
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	_IFF_DORMANT@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
LBB0_7:
	movl	%r15d, %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IFF_PROMISC,4,2                ## @IFF_PROMISC
	.comm	_IFF_ALLMULTI,4,2               ## @IFF_ALLMULTI
	.comm	_IFF_RUNNING,4,2                ## @IFF_RUNNING
	.comm	_IFF_LOWER_UP,4,2               ## @IFF_LOWER_UP
	.comm	_IFF_DORMANT,4,2                ## @IFF_DORMANT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dev_get_flags                  ; -- Begin function dev_get_flags
	.p2align	2
_dev_get_flags:                         ; @dev_get_flags
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _IFF_PROMISC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IFF_PROMISC@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _IFF_ALLMULTI@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IFF_ALLMULTI@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x23, _IFF_RUNNING@GOTPAGE
Lloh7:
	ldr	x23, [x23, _IFF_RUNNING@GOTPAGEOFF]
	ldr	w9, [x23]
Lloh8:
	adrp	x22, _IFF_LOWER_UP@GOTPAGE
Lloh9:
	ldr	x22, [x22, _IFF_LOWER_UP@GOTPAGEOFF]
	orr	w9, w8, w9
	ldr	w10, [x22]
	orr	w9, w9, w10
Lloh10:
	adrp	x21, _IFF_DORMANT@GOTPAGE
Lloh11:
	ldr	x21, [x21, _IFF_DORMANT@GOTPAGEOFF]
	ldr	w10, [x21]
	orr	w9, w9, w10
	ldp	w10, w11, [x0]
	bic	w9, w10, w9
	and	w8, w11, w8
	orr	w20, w9, w8
	bl	_netif_running
	cbz	x0, LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_netif_oper_up
	ldr	w8, [x23]
	cmp	x0, #0
	csel	w8, wzr, w8, eq
	orr	w20, w8, w20
	mov	x0, x19
	bl	_netif_carrier_ok
	ldr	w8, [x22]
	cmp	x0, #0
	csel	w8, wzr, w8, eq
	orr	w20, w20, w8
	mov	x0, x19
	bl	_netif_dormant
	cbz	x0, LBB0_3
; %bb.2:
	ldr	w8, [x21]
	orr	w20, w8, w20
LBB0_3:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IFF_PROMISC,4,2                ; @IFF_PROMISC
	.comm	_IFF_ALLMULTI,4,2               ; @IFF_ALLMULTI
	.comm	_IFF_RUNNING,4,2                ; @IFF_RUNNING
	.comm	_IFF_LOWER_UP,4,2               ; @IFF_LOWER_UP
	.comm	_IFF_DORMANT,4,2                ; @IFF_DORMANT
.subsections_via_symbols
