	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function ether_MessageIn
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_ether_MessageIn:                       ## @ether_MessageIn
	.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
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	cmpq	$0, (%rdi)
	js	LBB0_9
## %bb.1:
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_mkfdset
	testq	%rax, %rax
	je	LBB0_11
## %bb.2:
	movq	%rax, %r14
	leaq	-128(%rbp), %r15
	leaq	-109(%rbp), %r13
	leaq	L_.str.11(%rip), %r12
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_38:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_CARRIER_LOST@GOTPCREL(%rip), %rcx
LBB0_39:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	(%rcx), %eax
	movl	%eax, 8(%rbx)
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_zerofdset
	movq	(%rbx), %rdi
	movq	%r14, %rsi
	callq	_FD_SET
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -128(%rbp)
	movq	(%rbx), %rdi
	incq	%rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movq	%r15, %r8
	callq	_select
	testl	%eax, %eax
	jle	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rbx), %rdi
	leaq	-80(%rbp), %rsi
	movl	$32, %edx
	xorl	%ecx, %ecx
	callq	_NgRecvMsg
	testq	%rax, %rax
	jle	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-80(%rbp), %rdx
	movq	_NG_VERSION@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	cmpq	%rcx, %rdx
	jne	LBB0_6
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-72(%rbp), %rdx
	movq	_NGM_PPPOE_COOKIE@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	cmpq	%rcx, %rdx
	jne	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	-64(%rbp), %ecx
	leal	-128(%rcx), %eax
	cmpl	$9, %eax
	ja	LBB0_32
## %bb.16:                              ##   in Loop: Header=BB0_3 Depth=1
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	leaq	L_.str.3(%rip), %rdx
	jmpq	*%rax
LBB0_19:                                ##   in Loop: Header=BB0_3 Depth=1
	leaq	L_.str.7(%rip), %rdx
	jmp	LBB0_34
LBB0_32:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %r15
	leaq	-94(%rbp), %r12
	movq	%r12, %rdi
	movl	$14, %esi
	leaq	L_.str.16(%rip), %rdx
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_snprintf
	movq	%r12, %rdx
	movq	%r15, %r12
	leaq	-128(%rbp), %r15
	jmp	LBB0_34
LBB0_27:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	-56(%rbp), %ecx
	movq	%r13, %r12
	movq	%r13, %rdi
	movl	$5, %esi
	leaq	L_.str.14(%rip), %rdx
	callq	_snprintf
	leaq	L_.str.13(%rip), %rdi
	movq	%r13, %rsi
	movl	$1, %edx
	callq	_setenv
	testl	%eax, %eax
	je	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.15(%rip), %rsi
	movq	%r12, %rdx
	callq	_syslog
LBB0_29:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	leaq	-104(%rbp), %rsi
	movl	$16, %edx
	callq	_strtoul
	movq	-104(%rbp), %rcx
	leaq	L_.str.13(%rip), %rdx
	cmpq	%r12, %rcx
	leaq	L_.str.11(%rip), %r12
	je	LBB0_34
## %bb.30:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$0, (%rcx)
	leaq	L_.str.13(%rip), %rdx
	jne	LBB0_34
## %bb.31:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, 12(%rbx)
	leaq	L_.str.13(%rip), %rdx
	jmp	LBB0_34
LBB0_18:                                ##   in Loop: Header=BB0_3 Depth=1
	leaq	L_.str.6(%rip), %rdx
	jmp	LBB0_34
LBB0_17:                                ##   in Loop: Header=BB0_3 Depth=1
	leaq	L_.str.5(%rip), %rdx
	jmp	LBB0_34
LBB0_22:                                ##   in Loop: Header=BB0_3 Depth=1
	leaq	L_.str.10(%rip), %rdx
	jmp	LBB0_34
LBB0_20:                                ##   in Loop: Header=BB0_3 Depth=1
	leaq	L_.str.8(%rip), %rdx
	jmp	LBB0_34
LBB0_33:                                ##   in Loop: Header=BB0_3 Depth=1
	leaq	L_.str.4(%rip), %rdx
	jmp	LBB0_34
LBB0_21:                                ##   in Loop: Header=BB0_3 Depth=1
	leaq	L_.str.9(%rip), %rdx
	jmp	LBB0_34
LBB0_23:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %rsi
	movq	%r12, %rdi
	movl	$1, %edx
	callq	_setenv
	testl	%eax, %eax
	je	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_LogWARN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-56(%rbp), %rdx
	leaq	L_.str.12(%rip), %rsi
	xorl	%eax, %eax
	callq	_log_Printf
LBB0_25:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	-60(%rbp), %ecx
	movq	%r12, %rdx
	testl	%ecx, %ecx
	je	LBB0_34
## %bb.26:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_LogPHASE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-56(%rbp), %r8
	leaq	L_.str.17(%rip), %rsi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_log_Printf
	jmp	LBB0_35
	.p2align	4, 0x90
LBB0_34:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_LogPHASE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.18(%rip), %rsi
	xorl	%eax, %eax
	callq	_log_Printf
LBB0_35:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	-64(%rbp), %eax
	movq	_CARRIER_OK@GOTPCREL(%rip), %rcx
	cmpl	$128, %eax
	je	LBB0_39
## %bb.36:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$136, %eax
	je	LBB0_38
## %bb.37:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$134, %eax
	jne	LBB0_3
	jmp	LBB0_38
LBB0_11:
	movq	_LogERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_40
## %bb.12:
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_log_Printf                     ## TAILCALL
LBB0_6:
	movq	_LogWARN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_7
LBB0_14:
	movq	_LogWARN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
LBB0_7:
	xorl	%eax, %eax
	callq	_log_Printf
LBB0_8:
	movq	%r14, %rdi
	callq	_free
LBB0_9:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_40
## %bb.10:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_40:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_34, LBB0_34-LJTI0_0
.set L0_0_set_27, LBB0_27-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_33, LBB0_33-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
LJTI0_0:
	.long	L0_0_set_19
	.long	L0_0_set_34
	.long	L0_0_set_27
	.long	L0_0_set_18
	.long	L0_0_set_17
	.long	L0_0_set_22
	.long	L0_0_set_20
	.long	L0_0_set_33
	.long	L0_0_set_21
	.long	L0_0_set_23
	.end_data_region
                                        ## -- End function
	.comm	_LogERROR,4,2                   ## @LogERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DoLoop: Cannot create fd_set\n"

	.comm	_NG_VERSION,8,3                 ## @NG_VERSION
	.comm	_LogWARN,4,2                    ## @LogWARN
L_.str.1:                               ## @.str.1
	.asciz	"%ld: Unexpected netgraph version, expected %ld\n"

	.comm	_NGM_PPPOE_COOKIE,8,3           ## @NGM_PPPOE_COOKIE
L_.str.2:                               ## @.str.2
	.asciz	"%ld: Unexpected netgraph cookie, expected %ld\n"

L_.str.3:                               ## @.str.3
	.asciz	"SET_FLAG"

L_.str.4:                               ## @.str.4
	.asciz	"CONNECT"

L_.str.5:                               ## @.str.5
	.asciz	"LISTEN"

L_.str.6:                               ## @.str.6
	.asciz	"OFFER"

L_.str.7:                               ## @.str.7
	.asciz	"SUCCESS"

L_.str.8:                               ## @.str.8
	.asciz	"FAIL"

L_.str.9:                               ## @.str.9
	.asciz	"CLOSE"

L_.str.10:                              ## @.str.10
	.asciz	"GET_STATUS"

L_.str.11:                              ## @.str.11
	.asciz	"ACNAME"

L_.str.12:                              ## @.str.12
	.asciz	"setenv: cannot set ACNAME=%s: %m"

L_.str.13:                              ## @.str.13
	.asciz	"SESSIONID"

L_.str.14:                              ## @.str.14
	.asciz	"%04x"

	.comm	_LOG_WARNING,4,2                ## @LOG_WARNING
L_.str.15:                              ## @.str.15
	.asciz	"setenv: cannot set SESSIONID=%s: %m"

L_.str.16:                              ## @.str.16
	.asciz	"<%d>"

	.comm	_LogPHASE,4,2                   ## @LogPHASE
L_.str.17:                              ## @.str.17
	.asciz	"Received NGM_PPPOE_%s (hook \"%.*s\")\n"

L_.str.18:                              ## @.str.18
	.asciz	"Received NGM_PPPOE_%s\n"

	.comm	_CARRIER_OK,4,2                 ## @CARRIER_OK
	.comm	_CARRIER_LOST,4,2               ## @CARRIER_LOST
	.no_dead_strip	_ether_MessageIn
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ether_MessageIn
_ether_MessageIn:                       ; @ether_MessageIn
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x28, x27, [sp, #112]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #128]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	ldr	x8, [x0]
	tbnz	x8, #63, LBB0_41
; %bb.1:
	mov	x20, x0
	bl	_mkfdset
	cbz	x0, LBB0_35
; %bb.2:
	mov	x19, x0
Lloh3:
	adrp	x25, _NG_VERSION@GOTPAGE
Lloh4:
	ldr	x25, [x25, _NG_VERSION@GOTPAGEOFF]
Lloh5:
	adrp	x23, l_.str.3@PAGE
Lloh6:
	add	x23, x23, l_.str.3@PAGEOFF
Lloh7:
	adrp	x28, _NGM_PPPOE_COOKIE@GOTPAGE
Lloh8:
	ldr	x28, [x28, _NGM_PPPOE_COOKIE@GOTPAGEOFF]
Lloh9:
	adrp	x21, _LogPHASE@GOTPAGE
Lloh10:
	ldr	x21, [x21, _LogPHASE@GOTPAGEOFF]
Lloh11:
	adrp	x22, l_.str.18@PAGE
Lloh12:
	add	x22, x22, l_.str.18@PAGEOFF
Lloh13:
	adrp	x26, _CARRIER_LOST@GOTPAGE
Lloh14:
	ldr	x26, [x26, _CARRIER_LOST@GOTPAGEOFF]
Lloh15:
	adrp	x24, lJTI0_0@PAGE
Lloh16:
	add	x24, x24, lJTI0_0@PAGEOFF
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x8, x26
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x8]
	str	w8, [x20, #8]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_zerofdset
	ldr	x0, [x20]
	mov	x1, x19
	bl	_FD_SET
	stp	xzr, xzr, [sp, #24]
	ldr	x8, [x20]
	add	x0, x8, #1
	add	x4, sp, #24
	mov	x1, x19
	mov	x2, #0
	mov	x3, #0
	bl	_select
	cmp	w0, #1
	b.lt	LBB0_40
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x20]
	add	x1, sp, #72
	mov	w2, #32
	mov	x3, #0
	bl	_NgRecvMsg
	cmp	x0, #1
	b.lt	LBB0_40
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [sp, #72]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_37
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [sp, #80]
	ldr	x9, [x28]
	cmp	x8, x9
	b.ne	LBB0_38
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w3, [sp, #88]
	sub	w8, w3, #128
	cmp	w8, #9
	b.hi	LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	adr	x9, LBB0_11
	ldrb	w10, [x24, x8]
	add	x9, x9, x10, lsl #2
	mov	x27, x23
	br	x9
LBB0_11:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh17:
	adrp	x27, l_.str.7@PAGE
Lloh18:
	add	x27, x27, l_.str.7@PAGEOFF
	b	LBB0_30
LBB0_12:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x27, sp, #58
	add	x0, sp, #58
	mov	w1, #14
Lloh19:
	adrp	x2, l_.str.16@PAGE
Lloh20:
	add	x2, x2, l_.str.16@PAGEOFF
	bl	_snprintf
	b	LBB0_30
LBB0_13:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w3, [sp, #96]
	add	x0, sp, #43
	mov	w1, #5
Lloh21:
	adrp	x2, l_.str.14@PAGE
Lloh22:
	add	x2, x2, l_.str.14@PAGEOFF
	bl	_snprintf
	add	x1, sp, #43
Lloh23:
	adrp	x0, l_.str.13@PAGE
Lloh24:
	add	x0, x0, l_.str.13@PAGEOFF
	mov	w2, #1
	bl	_setenv
	cbz	w0, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_5 Depth=1
Lloh25:
	adrp	x8, _LOG_WARNING@GOTPAGE
Lloh26:
	ldr	x8, [x8, _LOG_WARNING@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	add	x2, sp, #43
Lloh28:
	adrp	x1, l_.str.15@PAGE
Lloh29:
	add	x1, x1, l_.str.15@PAGEOFF
	bl	_syslog
LBB0_15:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x0, sp, #43
	add	x1, sp, #48
	mov	w2, #16
	bl	_strtoul
	ldr	x8, [sp, #48]
	add	x9, sp, #43
	cmp	x8, x9
	b.eq	LBB0_18
; %bb.16:                               ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w8, [x8]
Lloh30:
	adrp	x27, l_.str.13@PAGE
Lloh31:
	add	x27, x27, l_.str.13@PAGEOFF
	cbnz	w8, LBB0_30
; %bb.17:                               ;   in Loop: Header=BB0_5 Depth=1
	str	w0, [x20, #12]
LBB0_18:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh32:
	adrp	x27, l_.str.13@PAGE
Lloh33:
	add	x27, x27, l_.str.13@PAGEOFF
	b	LBB0_30
LBB0_19:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh34:
	adrp	x27, l_.str.6@PAGE
Lloh35:
	add	x27, x27, l_.str.6@PAGEOFF
	b	LBB0_30
LBB0_20:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh36:
	adrp	x27, l_.str.5@PAGE
Lloh37:
	add	x27, x27, l_.str.5@PAGEOFF
	b	LBB0_30
LBB0_21:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh38:
	adrp	x27, l_.str.10@PAGE
Lloh39:
	add	x27, x27, l_.str.10@PAGEOFF
	b	LBB0_30
LBB0_22:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh40:
	adrp	x27, l_.str.8@PAGE
Lloh41:
	add	x27, x27, l_.str.8@PAGEOFF
	b	LBB0_30
LBB0_23:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh42:
	adrp	x27, l_.str.4@PAGE
Lloh43:
	add	x27, x27, l_.str.4@PAGEOFF
	b	LBB0_30
LBB0_24:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh44:
	adrp	x27, l_.str.9@PAGE
Lloh45:
	add	x27, x27, l_.str.9@PAGEOFF
	b	LBB0_30
LBB0_25:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x1, [sp, #96]
Lloh46:
	adrp	x0, l_.str.11@PAGE
Lloh47:
	add	x0, x0, l_.str.11@PAGEOFF
	mov	w2, #1
	bl	_setenv
	cbz	w0, LBB0_27
; %bb.26:                               ;   in Loop: Header=BB0_5 Depth=1
Lloh48:
	adrp	x8, _LogWARN@GOTPAGE
Lloh49:
	ldr	x8, [x8, _LogWARN@GOTPAGEOFF]
Lloh50:
	ldr	w0, [x8]
	ldr	x8, [sp, #96]
	str	x8, [sp]
Lloh51:
	adrp	x1, l_.str.12@PAGE
Lloh52:
	add	x1, x1, l_.str.12@PAGEOFF
	bl	_log_Printf
LBB0_27:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [sp, #92]
	cbz	w8, LBB0_29
; %bb.28:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x21]
	ldr	x9, [sp, #96]
	stp	x8, x9, [sp, #8]
Lloh53:
	adrp	x8, l_.str.11@PAGE
Lloh54:
	add	x8, x8, l_.str.11@PAGEOFF
	str	x8, [sp]
Lloh55:
	adrp	x1, l_.str.17@PAGE
Lloh56:
	add	x1, x1, l_.str.17@PAGEOFF
	b	LBB0_31
LBB0_29:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh57:
	adrp	x27, l_.str.11@PAGE
Lloh58:
	add	x27, x27, l_.str.11@PAGEOFF
LBB0_30:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x21]
	str	x27, [sp]
	mov	x1, x22
LBB0_31:                                ;   in Loop: Header=BB0_5 Depth=1
	bl	_log_Printf
	ldr	w8, [sp, #88]
	cmp	w8, #128
	b.eq	LBB0_34
; %bb.32:                               ;   in Loop: Header=BB0_5 Depth=1
	cmp	w8, #136
	b.eq	LBB0_3
; %bb.33:                               ;   in Loop: Header=BB0_5 Depth=1
	cmp	w8, #134
	b.ne	LBB0_5
	b	LBB0_3
LBB0_34:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh59:
	adrp	x8, _CARRIER_OK@GOTPAGE
Lloh60:
	ldr	x8, [x8, _CARRIER_OK@GOTPAGEOFF]
	b	LBB0_4
LBB0_35:
Lloh61:
	adrp	x8, _LogERROR@GOTPAGE
Lloh62:
	ldr	x8, [x8, _LogERROR@GOTPAGEOFF]
Lloh63:
	ldr	w0, [x8]
	ldur	x8, [x29, #-88]
Lloh64:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh65:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh66:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_43
; %bb.36:
Lloh67:
	adrp	x1, l_.str@PAGE
Lloh68:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #208
	b	_log_Printf
LBB0_37:
Lloh69:
	adrp	x10, _LogWARN@GOTPAGE
Lloh70:
	ldr	x10, [x10, _LogWARN@GOTPAGEOFF]
Lloh71:
	ldr	w0, [x10]
	stp	x8, x9, [sp]
Lloh72:
	adrp	x1, l_.str.1@PAGE
Lloh73:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_39
LBB0_38:
Lloh74:
	adrp	x10, _LogWARN@GOTPAGE
Lloh75:
	ldr	x10, [x10, _LogWARN@GOTPAGEOFF]
Lloh76:
	ldr	w0, [x10]
	stp	x8, x9, [sp]
Lloh77:
	adrp	x1, l_.str.2@PAGE
Lloh78:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_39:
	bl	_log_Printf
LBB0_40:
	mov	x0, x19
	bl	_free
LBB0_41:
	ldur	x8, [x29, #-88]
Lloh79:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh80:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh81:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_43
; %bb.42:
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
LBB0_43:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpLdrGot	Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpAdd	Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_11-LBB0_11)>>2
	.byte	(LBB0_30-LBB0_11)>>2
	.byte	(LBB0_13-LBB0_11)>>2
	.byte	(LBB0_19-LBB0_11)>>2
	.byte	(LBB0_20-LBB0_11)>>2
	.byte	(LBB0_21-LBB0_11)>>2
	.byte	(LBB0_22-LBB0_11)>>2
	.byte	(LBB0_23-LBB0_11)>>2
	.byte	(LBB0_24-LBB0_11)>>2
	.byte	(LBB0_25-LBB0_11)>>2
                                        ; -- End function
	.comm	_LogERROR,4,2                   ; @LogERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DoLoop: Cannot create fd_set\n"

	.comm	_NG_VERSION,8,3                 ; @NG_VERSION
	.comm	_LogWARN,4,2                    ; @LogWARN
l_.str.1:                               ; @.str.1
	.asciz	"%ld: Unexpected netgraph version, expected %ld\n"

	.comm	_NGM_PPPOE_COOKIE,8,3           ; @NGM_PPPOE_COOKIE
l_.str.2:                               ; @.str.2
	.asciz	"%ld: Unexpected netgraph cookie, expected %ld\n"

l_.str.3:                               ; @.str.3
	.asciz	"SET_FLAG"

l_.str.4:                               ; @.str.4
	.asciz	"CONNECT"

l_.str.5:                               ; @.str.5
	.asciz	"LISTEN"

l_.str.6:                               ; @.str.6
	.asciz	"OFFER"

l_.str.7:                               ; @.str.7
	.asciz	"SUCCESS"

l_.str.8:                               ; @.str.8
	.asciz	"FAIL"

l_.str.9:                               ; @.str.9
	.asciz	"CLOSE"

l_.str.10:                              ; @.str.10
	.asciz	"GET_STATUS"

l_.str.11:                              ; @.str.11
	.asciz	"ACNAME"

l_.str.12:                              ; @.str.12
	.asciz	"setenv: cannot set ACNAME=%s: %m"

l_.str.13:                              ; @.str.13
	.asciz	"SESSIONID"

l_.str.14:                              ; @.str.14
	.asciz	"%04x"

	.comm	_LOG_WARNING,4,2                ; @LOG_WARNING
l_.str.15:                              ; @.str.15
	.asciz	"setenv: cannot set SESSIONID=%s: %m"

l_.str.16:                              ; @.str.16
	.asciz	"<%d>"

	.comm	_LogPHASE,4,2                   ; @LogPHASE
l_.str.17:                              ; @.str.17
	.asciz	"Received NGM_PPPOE_%s (hook \"%.*s\")\n"

l_.str.18:                              ; @.str.18
	.asciz	"Received NGM_PPPOE_%s\n"

	.comm	_CARRIER_OK,4,2                 ; @CARRIER_OK
	.comm	_CARRIER_LOST,4,2               ; @CARRIER_LOST
	.no_dead_strip	_ether_MessageIn
.subsections_via_symbols
