	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_init_qsfp_int                  ## -- Begin function init_qsfp_int
	.p2align	4, 0x90
_init_qsfp_int:                         ## @init_qsfp_int
	.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	%rdi, %r15
	movq	_QSFP_HFI0_INT_N@GOTPCREL(%rip), %rax
	movq	_QSFP_HFI0_MODPRST_N@GOTPCREL(%rip), %r13
	movl	(%r13), %r14d
	orl	(%rax), %r14d
	cmpq	$0, (%rdi)
	jne	LBB0_1
## %bb.2:
	movq	_ASIC_QSFP1_CLEAR@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_ASIC_QSFP2_CLEAR@GOTPCREL(%rip), %rax
LBB0_3:
	movq	8(%r15), %r12
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	%r14d, %edx
	callq	_write_csr
	cmpq	$0, (%r15)
	jne	LBB0_4
## %bb.5:
	movq	_ASIC_QSFP1_MASK@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	movq	_ASIC_QSFP2_MASK@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	%r14d, %edx
	callq	_write_csr
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_set_qsfp_int_n
	movq	%r12, %rdi
	callq	_qsfp_mod_present
	movl	(%r13), %ecx
	notl	%ecx
	cmpq	$1, %rax
	sbbl	%ebx, %ebx
	orl	%ecx, %ebx
	andl	%r14d, %ebx
	cmpq	$0, (%r15)
	jne	LBB0_7
## %bb.8:
	movq	_ASIC_QSFP1_INVERT@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_7:
	movq	_ASIC_QSFP2_INVERT@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_write_csr
	cmpq	$0, (%r15)
	je	LBB0_10
## %bb.12:
	movq	_QSFP2_INT@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_10:
	movq	_QSFP1_INT@GOTPCREL(%rip), %rax
LBB0_11:
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	%edx, %esi
	movl	$1, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_set_intr_bits                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_QSFP_HFI0_INT_N,4,2            ## @QSFP_HFI0_INT_N
	.comm	_QSFP_HFI0_MODPRST_N,4,2        ## @QSFP_HFI0_MODPRST_N
	.comm	_ASIC_QSFP2_CLEAR,4,2           ## @ASIC_QSFP2_CLEAR
	.comm	_ASIC_QSFP1_CLEAR,4,2           ## @ASIC_QSFP1_CLEAR
	.comm	_ASIC_QSFP2_MASK,4,2            ## @ASIC_QSFP2_MASK
	.comm	_ASIC_QSFP1_MASK,4,2            ## @ASIC_QSFP1_MASK
	.comm	_ASIC_QSFP2_INVERT,4,2          ## @ASIC_QSFP2_INVERT
	.comm	_ASIC_QSFP1_INVERT,4,2          ## @ASIC_QSFP1_INVERT
	.comm	_QSFP1_INT,4,2                  ## @QSFP1_INT
	.comm	_QSFP2_INT,4,2                  ## @QSFP2_INT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_init_qsfp_int                  ; -- Begin function init_qsfp_int
	.p2align	2
_init_qsfp_int:                         ; @init_qsfp_int
	.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, _QSFP_HFI0_INT_N@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QSFP_HFI0_INT_N@GOTPAGEOFF]
Lloh2:
	adrp	x22, _QSFP_HFI0_MODPRST_N@GOTPAGE
Lloh3:
	ldr	x22, [x22, _QSFP_HFI0_MODPRST_N@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	ldr	w9, [x22]
	orr	w20, w9, w8
Lloh5:
	adrp	x8, _ASIC_QSFP2_CLEAR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ASIC_QSFP2_CLEAR@GOTPAGEOFF]
	ldp	x9, x21, [x0]
Lloh7:
	adrp	x10, _ASIC_QSFP1_CLEAR@GOTPAGE
Lloh8:
	ldr	x10, [x10, _ASIC_QSFP1_CLEAR@GOTPAGEOFF]
	cmp	x9, #0
	csel	x8, x10, x8, eq
	ldr	w1, [x8]
	mov	x2, x20
	bl	_write_csr
Lloh9:
	adrp	x8, _ASIC_QSFP2_MASK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ASIC_QSFP2_MASK@GOTPAGEOFF]
	ldr	x9, [x19]
Lloh11:
	adrp	x10, _ASIC_QSFP1_MASK@GOTPAGE
Lloh12:
	ldr	x10, [x10, _ASIC_QSFP1_MASK@GOTPAGEOFF]
	cmp	x9, #0
	csel	x8, x10, x8, eq
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_write_csr
	mov	x0, x21
	mov	w1, #0
	bl	_set_qsfp_int_n
	mov	x0, x21
	bl	_qsfp_mod_present
	ldr	w8, [x22]
	cmp	x0, #0
	mov	w9, #-1
	csinv	w8, w9, w8, eq
	and	w2, w8, w20
Lloh13:
	adrp	x8, _ASIC_QSFP2_INVERT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ASIC_QSFP2_INVERT@GOTPAGEOFF]
	ldr	x9, [x19]
Lloh15:
	adrp	x10, _ASIC_QSFP1_INVERT@GOTPAGE
Lloh16:
	ldr	x10, [x10, _ASIC_QSFP1_INVERT@GOTPAGEOFF]
	cmp	x9, #0
	csel	x8, x10, x8, eq
	ldr	w1, [x8]
	mov	x0, x19
	bl	_write_csr
	ldr	x8, [x19]
	cbz	x8, LBB0_2
; %bb.1:
Lloh17:
	adrp	x8, _QSFP2_INT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _QSFP2_INT@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh19:
	adrp	x8, _QSFP1_INT@GOTPAGE
Lloh20:
	ldr	x8, [x8, _QSFP1_INT@GOTPAGEOFF]
LBB0_3:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x1
	mov	w3, #1
	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
	b	_set_intr_bits
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_QSFP_HFI0_INT_N,4,2            ; @QSFP_HFI0_INT_N
	.comm	_QSFP_HFI0_MODPRST_N,4,2        ; @QSFP_HFI0_MODPRST_N
	.comm	_ASIC_QSFP2_CLEAR,4,2           ; @ASIC_QSFP2_CLEAR
	.comm	_ASIC_QSFP1_CLEAR,4,2           ; @ASIC_QSFP1_CLEAR
	.comm	_ASIC_QSFP2_MASK,4,2            ; @ASIC_QSFP2_MASK
	.comm	_ASIC_QSFP1_MASK,4,2            ; @ASIC_QSFP1_MASK
	.comm	_ASIC_QSFP2_INVERT,4,2          ; @ASIC_QSFP2_INVERT
	.comm	_ASIC_QSFP1_INVERT,4,2          ; @ASIC_QSFP1_INVERT
	.comm	_QSFP1_INT,4,2                  ; @QSFP1_INT
	.comm	_QSFP2_INT,4,2                  ; @QSFP2_INT
.subsections_via_symbols
