	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_register_pppox_proto           ## -- Begin function register_pppox_proto
	.p2align	4, 0x90
_register_pppox_proto:                  ## @register_pppox_proto
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%edi, %edi
	js	LBB0_2
## %bb.1:
	movq	_PX_MAX_PROTO@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jl	LBB0_2
## %bb.4:
	movq	_pppox_protos@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%edi, %ecx
	cmpq	$0, (%rax,%rcx,8)
	je	LBB0_6
## %bb.5:
	movq	_EALREADY@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_3:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_6:
	movq	%rsi, (%rax,%rcx,8)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PX_MAX_PROTO,4,2               ## @PX_MAX_PROTO
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_pppox_protos,8,3               ## @pppox_protos
	.comm	_EALREADY,4,2                   ## @EALREADY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_register_pppox_proto           ; -- Begin function register_pppox_proto
	.p2align	2
_register_pppox_proto:                  ; @register_pppox_proto
	.cfi_startproc
; %bb.0:
	tbnz	w0, #31, LBB0_4
; %bb.1:
	mov	x8, x0
Lloh0:
	adrp	x9, _PX_MAX_PROTO@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PX_MAX_PROTO@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w9, w0
	b.lt	LBB0_4
; %bb.2:
Lloh3:
	adrp	x9, _pppox_protos@GOTPAGE
Lloh4:
	ldr	x9, [x9, _pppox_protos@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	x10, [x9, w8, uxtw #3]
	cbz	x10, LBB0_6
; %bb.3:
Lloh6:
	adrp	x8, _EALREADY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EALREADY@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_6:
	mov	w0, #0
	mov	w8, w8
	str	x1, [x9, x8, lsl #3]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_PX_MAX_PROTO,4,2               ; @PX_MAX_PROTO
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_pppox_protos,8,3               ; @pppox_protos
	.comm	_EALREADY,4,2                   ; @EALREADY
.subsections_via_symbols
