	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gen_portrange6
_gen_portrange6:                        ## @gen_portrange6
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r14d
	movl	%ecx, %ebx
	movl	%edx, %r12d
	movl	%esi, %r13d
	movq	%rdi, %r15
	movq	_ETHERTYPE_IPV6@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_gen_linktype
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leal	-129(%rbx), %eax
	cmpl	$3, %eax
	jae	LBB0_1
## %bb.4:
	movq	%r15, %rdi
	movl	%r13d, %esi
	movl	%r12d, %edx
	movl	%ebx, %ecx
	movl	%r14d, %r8d
	callq	_gen_portrangeop6
	movq	%rax, %r14
	jmp	LBB0_5
LBB0_1:
	cmpl	$128, %ebx
	jne	LBB0_3
## %bb.2:
	movq	%r15, %rdi
	movl	%r13d, %esi
	movl	%r12d, %edx
	movl	$130, %ecx
	movl	%r14d, %r8d
	callq	_gen_portrangeop6
	movq	%rax, %rbx
	movq	%r15, %rdi
	movl	%r13d, %esi
	movl	%r12d, %edx
	movl	$129, %ecx
	movl	%r14d, %r8d
	callq	_gen_portrangeop6
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movq	%rax, %r14
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_gen_or
	movq	%r15, %rdi
	movl	%r13d, %esi
	movl	%r12d, %edx
	movl	$131, %ecx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	callq	_gen_portrangeop6
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_gen_or
LBB0_5:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_gen_and
	movq	%r14, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	xorl	%eax, %eax
	callq	_abort
	.cfi_endproc
                                        ## -- End function
	.comm	_ETHERTYPE_IPV6,4,2             ## @ETHERTYPE_IPV6
	.no_dead_strip	_gen_portrange6
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gen_portrange6
_gen_portrange6:                        ; @gen_portrange6
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x4
	mov	x24, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
Lloh0:
	adrp	x8, _ETHERTYPE_IPV6@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETHERTYPE_IPV6@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_gen_linktype
	mov	x19, x0
	sub	w8, w24, #129
	cmp	w8, #3
	b.hs	LBB0_2
; %bb.1:
	mov	x0, x23
	mov	x1, x22
	mov	x2, x21
	mov	x3, x24
	mov	x4, x20
	bl	_gen_portrangeop6
	mov	x24, x0
	b	LBB0_4
LBB0_2:
	cmp	w24, #128
	b.ne	LBB0_5
; %bb.3:
	mov	x0, x23
	mov	x1, x22
	mov	x2, x21
	mov	w3, #130
	mov	x4, x20
	bl	_gen_portrangeop6
	mov	x25, x0
	mov	x0, x23
	mov	x1, x22
	mov	x2, x21
	mov	w3, #129
	mov	x4, x20
	bl	_gen_portrangeop6
	mov	x24, x0
	mov	x0, x25
	mov	x1, x24
	bl	_gen_or
	mov	x0, x23
	mov	x1, x22
	mov	x2, x21
	mov	w3, #131
	mov	x4, x20
	bl	_gen_portrangeop6
	mov	x1, x24
	bl	_gen_or
LBB0_4:
	mov	x0, x19
	mov	x1, x24
	bl	_gen_and
	mov	x0, x24
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_5:
	bl	_abort
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ETHERTYPE_IPV6,4,2             ; @ETHERTYPE_IPV6
	.no_dead_strip	_gen_portrange6
.subsections_via_symbols
