	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_t4_init_sge_params             ## -- Begin function t4_init_sge_params
	.p2align	4, 0x90
_t4_init_sge_params:                    ## @t4_init_sge_params
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_SGE_HOST_PAGE_SIZE_A@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_t4_read_reg
	movq	_HOSTPAGESIZEPF0_S@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_HOSTPAGESIZEPF1_S@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	subl	%edx, %ecx
	movl	(%r14), %esi
	imull	%esi, %ecx
	addl	%edx, %ecx
                                        ## kill: def $cl killed $cl killed $ecx
	shrl	%cl, %eax
	movq	_HOSTPAGESIZEPF0_M@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movl	%eax, 4(%r14)
	movq	_QUEUESPERPAGEPF0_S@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_QUEUESPERPAGEPF1_S@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	subl	%eax, %ebx
	imull	%esi, %ebx
	addl	%eax, %ebx
	movq	_SGE_EGRESS_QUEUES_PER_PAGE_PF_A@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_t4_read_reg
	movl	%ebx, %ecx
	shrl	%cl, %eax
	movq	_QUEUESPERPAGEPF0_M@GOTPCREL(%rip), %r15
	andl	(%r15), %eax
	movl	%eax, 8(%r14)
	movq	_SGE_INGRESS_QUEUES_PER_PAGE_PF_A@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_t4_read_reg
	movl	%ebx, %ecx
	shrl	%cl, %eax
	andl	(%r15), %eax
	movl	%eax, 12(%r14)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SGE_HOST_PAGE_SIZE_A,4,2       ## @SGE_HOST_PAGE_SIZE_A
	.comm	_HOSTPAGESIZEPF0_S,4,2          ## @HOSTPAGESIZEPF0_S
	.comm	_HOSTPAGESIZEPF1_S,4,2          ## @HOSTPAGESIZEPF1_S
	.comm	_HOSTPAGESIZEPF0_M,4,2          ## @HOSTPAGESIZEPF0_M
	.comm	_QUEUESPERPAGEPF0_S,4,2         ## @QUEUESPERPAGEPF0_S
	.comm	_QUEUESPERPAGEPF1_S,4,2         ## @QUEUESPERPAGEPF1_S
	.comm	_SGE_EGRESS_QUEUES_PER_PAGE_PF_A,4,2 ## @SGE_EGRESS_QUEUES_PER_PAGE_PF_A
	.comm	_QUEUESPERPAGEPF0_M,4,2         ## @QUEUESPERPAGEPF0_M
	.comm	_SGE_INGRESS_QUEUES_PER_PAGE_PF_A,4,2 ## @SGE_INGRESS_QUEUES_PER_PAGE_PF_A
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_t4_init_sge_params             ; -- Begin function t4_init_sge_params
	.p2align	2
_t4_init_sge_params:                    ; @t4_init_sge_params
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _SGE_HOST_PAGE_SIZE_A@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SGE_HOST_PAGE_SIZE_A@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_t4_read_reg
Lloh3:
	adrp	x8, _HOSTPAGESIZEPF0_S@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HOSTPAGESIZEPF0_S@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _HOSTPAGESIZEPF1_S@GOTPAGE
Lloh7:
	ldr	x9, [x9, _HOSTPAGESIZEPF1_S@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	sub	w9, w9, w8
	ldr	w10, [x19]
	madd	w8, w9, w10, w8
	lsr	w8, w0, w8
Lloh9:
	adrp	x9, _HOSTPAGESIZEPF0_M@GOTPAGE
Lloh10:
	ldr	x9, [x9, _HOSTPAGESIZEPF0_M@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	and	w8, w8, w9
	str	w8, [x19, #4]
Lloh12:
	adrp	x8, _QUEUESPERPAGEPF0_S@GOTPAGE
Lloh13:
	ldr	x8, [x8, _QUEUESPERPAGEPF0_S@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _QUEUESPERPAGEPF1_S@GOTPAGE
Lloh16:
	ldr	x9, [x9, _QUEUESPERPAGEPF1_S@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	sub	w9, w9, w8
	madd	w20, w9, w10, w8
Lloh18:
	adrp	x8, _SGE_EGRESS_QUEUES_PER_PAGE_PF_A@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SGE_EGRESS_QUEUES_PER_PAGE_PF_A@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_t4_read_reg
	lsr	w8, w0, w20
Lloh21:
	adrp	x21, _QUEUESPERPAGEPF0_M@GOTPAGE
Lloh22:
	ldr	x21, [x21, _QUEUESPERPAGEPF0_M@GOTPAGEOFF]
	ldr	w9, [x21]
	and	w8, w8, w9
	str	w8, [x19, #8]
Lloh23:
	adrp	x8, _SGE_INGRESS_QUEUES_PER_PAGE_PF_A@GOTPAGE
Lloh24:
	ldr	x8, [x8, _SGE_INGRESS_QUEUES_PER_PAGE_PF_A@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_t4_read_reg
	lsr	w8, w0, w20
	ldr	w9, [x21]
	and	w8, w8, w9
	str	w8, [x19, #12]
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SGE_HOST_PAGE_SIZE_A,4,2       ; @SGE_HOST_PAGE_SIZE_A
	.comm	_HOSTPAGESIZEPF0_S,4,2          ; @HOSTPAGESIZEPF0_S
	.comm	_HOSTPAGESIZEPF1_S,4,2          ; @HOSTPAGESIZEPF1_S
	.comm	_HOSTPAGESIZEPF0_M,4,2          ; @HOSTPAGESIZEPF0_M
	.comm	_QUEUESPERPAGEPF0_S,4,2         ; @QUEUESPERPAGEPF0_S
	.comm	_QUEUESPERPAGEPF1_S,4,2         ; @QUEUESPERPAGEPF1_S
	.comm	_SGE_EGRESS_QUEUES_PER_PAGE_PF_A,4,2 ; @SGE_EGRESS_QUEUES_PER_PAGE_PF_A
	.comm	_QUEUESPERPAGEPF0_M,4,2         ; @QUEUESPERPAGEPF0_M
	.comm	_SGE_INGRESS_QUEUES_PER_PAGE_PF_A,4,2 ; @SGE_INGRESS_QUEUES_PER_PAGE_PF_A
.subsections_via_symbols
