	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xgene_cle_idt_to_hw
_xgene_cle_idt_to_hw:                   ## @xgene_cle_idt_to_hw
	.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	%r8, -48(%rbp)                  ## 8-byte Spill
	movl	%ecx, %r15d
	movl	%edx, %r12d
	movq	(%rdi), %rax
	movq	_XGENE_ENET1@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	_IDT_DSTQID@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_IDT_FPSEL@GOTPCREL(%rip), %rbx
	cmoveq	_IDT_FPSEL1@GOTPCREL(%rip), %rbx
	movq	_IDT_NFPSEL@GOTPCREL(%rip), %r14
	cmoveq	_IDT_NFPSEL1@GOTPCREL(%rip), %r14
	callq	_SET_VAL
	movl	%eax, %r13d
	movl	(%rbx), %edi
	movl	%r12d, %esi
	callq	_SET_VAL
	movl	%eax, %ebx
	orl	%r13d, %ebx
	movl	(%r14), %edi
	movl	%r15d, %esi
	callq	_SET_VAL
	orl	%ebx, %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XGENE_ENET1,8,3                ## @XGENE_ENET1
	.comm	_IDT_DSTQID,4,2                 ## @IDT_DSTQID
	.comm	_IDT_FPSEL1,4,2                 ## @IDT_FPSEL1
	.comm	_IDT_NFPSEL1,4,2                ## @IDT_NFPSEL1
	.comm	_IDT_FPSEL,4,2                  ## @IDT_FPSEL
	.comm	_IDT_NFPSEL,4,2                 ## @IDT_NFPSEL
	.no_dead_strip	_xgene_cle_idt_to_hw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xgene_cle_idt_to_hw
_xgene_cle_idt_to_hw:                   ; @xgene_cle_idt_to_hw
	.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
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	ldr	x23, [x0]
Lloh0:
	adrp	x8, _XGENE_ENET1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _XGENE_ENET1@GOTPAGEOFF]
Lloh2:
	ldr	x24, [x8]
Lloh3:
	adrp	x8, _IDT_DSTQID@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IDT_DSTQID@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_SET_VAL
	mov	x22, x0
Lloh6:
	adrp	x8, _IDT_FPSEL1@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IDT_FPSEL1@GOTPAGEOFF]
Lloh8:
	adrp	x9, _IDT_FPSEL@GOTPAGE
Lloh9:
	ldr	x9, [x9, _IDT_FPSEL@GOTPAGEOFF]
	cmp	x23, x24
	csel	x8, x8, x9, eq
	ldr	w0, [x8]
Lloh10:
	adrp	x8, _IDT_NFPSEL1@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IDT_NFPSEL1@GOTPAGEOFF]
Lloh12:
	adrp	x9, _IDT_NFPSEL@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IDT_NFPSEL@GOTPAGEOFF]
	csel	x23, x8, x9, eq
	mov	x1, x21
	bl	_SET_VAL
	orr	w21, w0, w22
	ldr	w0, [x23]
	mov	x1, x20
	bl	_SET_VAL
	orr	w8, w21, w0
	str	w8, [x19]
	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 AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_XGENE_ENET1,8,3                ; @XGENE_ENET1
	.comm	_IDT_DSTQID,4,2                 ; @IDT_DSTQID
	.comm	_IDT_FPSEL1,4,2                 ; @IDT_FPSEL1
	.comm	_IDT_NFPSEL1,4,2                ; @IDT_NFPSEL1
	.comm	_IDT_FPSEL,4,2                  ; @IDT_FPSEL
	.comm	_IDT_NFPSEL,4,2                 ; @IDT_NFPSEL
	.no_dead_strip	_xgene_cle_idt_to_hw
.subsections_via_symbols
