	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pppox_create
_pppox_create:                          ## @pppox_create
	.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	_EPROTOTYPE@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	testl	%edx, %edx
	js	LBB0_6
## %bb.1:
	movq	_PX_MAX_PROTO@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	jl	LBB0_6
## %bb.2:
	movq	%rsi, %r15
	movq	%rdi, %r12
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	_EPROTONOSUPPORT@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	movq	_pppox_protos@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movl	%edx, %r13d
	movq	(%rax,%r13,8), %rax
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movq	_PF_PPPOX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	callq	_request_module
	movq	(%r14), %rax
	movq	(%rax,%r13,8), %rax
	testq	%rax, %rax
	je	LBB0_6
LBB0_4:
	movl	8(%rax), %edi
	callq	_try_module_get
	testl	%eax, %eax
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	je	LBB0_6
## %bb.5:
	movq	(%r14), %rax
	movq	(%rax,%r13,8), %rax
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	*(%rax)
	movl	%eax, %ebx
	movq	(%r14), %rax
	movq	(%rax,%r13,8), %rax
	movl	8(%rax), %edi
	callq	_module_put
LBB0_6:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EPROTOTYPE,4,2                 ## @EPROTOTYPE
	.comm	_PX_MAX_PROTO,4,2               ## @PX_MAX_PROTO
	.comm	_EPROTONOSUPPORT,4,2            ## @EPROTONOSUPPORT
	.comm	_pppox_protos,8,3               ## @pppox_protos
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"net-pf-%d-proto-%d"

	.comm	_PF_PPPOX,4,2                   ## @PF_PPPOX
	.no_dead_strip	_pppox_create
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pppox_create
_pppox_create:                          ; @pppox_create
	.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
Lloh0:
	adrp	x8, _EPROTOTYPE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EPROTOTYPE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w22, w8
	tbnz	w2, #31, LBB0_6
; %bb.1:
Lloh3:
	adrp	x8, _PX_MAX_PROTO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PX_MAX_PROTO@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, w2
	b.lt	LBB0_6
; %bb.2:
	mov	x19, x3
	mov	x20, x1
	mov	x21, x0
Lloh6:
	adrp	x8, _EPROTONOSUPPORT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EPROTONOSUPPORT@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w22, w8
Lloh9:
	adrp	x23, _pppox_protos@GOTPAGE
Lloh10:
	ldr	x23, [x23, _pppox_protos@GOTPAGEOFF]
	ldr	x8, [x23]
	mov	w24, w2
	ldr	x8, [x8, w2, uxtw #3]
	cbnz	x8, LBB0_4
; %bb.3:
Lloh11:
	adrp	x8, _PF_PPPOX@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PF_PPPOX@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
	bl	_request_module
	ldr	x8, [x23]
	ldr	x8, [x8, x24, lsl #3]
	cbz	x8, LBB0_6
LBB0_4:
	ldr	w0, [x8, #8]
	bl	_try_module_get
	cbz	w0, LBB0_6
; %bb.5:
	ldr	x8, [x23]
	lsl	x22, x24, #3
	ldr	x8, [x8, x22]
	ldr	x8, [x8]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	blr	x8
	mov	x19, x0
	ldr	x8, [x23]
	ldr	x8, [x8, x22]
	ldr	w0, [x8, #8]
	bl	_module_put
	mov	x0, x19
	b	LBB0_7
LBB0_6:
	mov	x0, x22
LBB0_7:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_EPROTOTYPE,4,2                 ; @EPROTOTYPE
	.comm	_PX_MAX_PROTO,4,2               ; @PX_MAX_PROTO
	.comm	_EPROTONOSUPPORT,4,2            ; @EPROTONOSUPPORT
	.comm	_pppox_protos,8,3               ; @pppox_protos
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"net-pf-%d-proto-%d"

	.comm	_PF_PPPOX,4,2                   ; @PF_PPPOX
	.no_dead_strip	_pppox_create
.subsections_via_symbols
