	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function default_operstate
_default_operstate:                     ## @default_operstate
	.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	_netif_carrier_ok
	testl	%eax, %eax
	je	LBB0_1
## %bb.4:
	movq	%rbx, %rdi
	callq	_netif_dormant
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_IF_OPER_DORMANT@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_1:
	movq	(%rbx), %rax
	cmpq	8(%rbx), %rax
	jne	LBB0_2
## %bb.3:
	movq	_IF_OPER_DOWN@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_6:
	movq	_IF_OPER_UP@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_2:
	movq	_IF_OPER_LOWERLAYERDOWN@GOTPCREL(%rip), %rax
LBB0_7:
	movb	(%rax), %al
	movzbl	%al, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IF_OPER_LOWERLAYERDOWN,1,0     ## @IF_OPER_LOWERLAYERDOWN
	.comm	_IF_OPER_DOWN,1,0               ## @IF_OPER_DOWN
	.comm	_IF_OPER_DORMANT,1,0            ## @IF_OPER_DORMANT
	.comm	_IF_OPER_UP,1,0                 ## @IF_OPER_UP
	.no_dead_strip	_default_operstate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function default_operstate
_default_operstate:                     ; @default_operstate
	.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	_netif_carrier_ok
	cbz	w0, LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_netif_dormant
	cbz	x0, LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _IF_OPER_DORMANT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IF_OPER_DORMANT@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:
Lloh2:
	adrp	x8, _IF_OPER_LOWERLAYERDOWN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IF_OPER_LOWERLAYERDOWN@GOTPAGEOFF]
	ldp	x9, x10, [x19]
Lloh4:
	adrp	x11, _IF_OPER_DOWN@GOTPAGE
Lloh5:
	ldr	x11, [x11, _IF_OPER_DOWN@GOTPAGEOFF]
	cmp	x9, x10
	csel	x8, x11, x8, eq
	b	LBB0_5
LBB0_4:
Lloh6:
	adrp	x8, _IF_OPER_UP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IF_OPER_UP@GOTPAGEOFF]
LBB0_5:
	ldrb	w8, [x8]
	and	w0, w8, #0xff
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_IF_OPER_LOWERLAYERDOWN,1,0     ; @IF_OPER_LOWERLAYERDOWN
	.comm	_IF_OPER_DOWN,1,0               ; @IF_OPER_DOWN
	.comm	_IF_OPER_DORMANT,1,0            ; @IF_OPER_DORMANT
	.comm	_IF_OPER_UP,1,0                 ; @IF_OPER_UP
	.no_dead_strip	_default_operstate
.subsections_via_symbols
