	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_qsfp_int_n
_set_qsfp_int_n:                        ## @set_qsfp_int_n
	.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	%rsi, %r15
	movq	(%rdi), %rbx
	cmpq	$0, (%rbx)
	jne	LBB0_1
## %bb.2:
	movq	_ASIC_QSFP1_MASK@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_ASIC_QSFP2_MASK@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_read_csr
	movq	%rax, %r14
	testq	%r15, %r15
	je	LBB0_8
## %bb.4:
	cmpq	$0, (%rbx)
	jne	LBB0_5
## %bb.6:
	movq	_ASIC_QSFP1_CLEAR@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_8:
	movq	_QSFP_HFI0_INT_N@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	notq	%rax
	andq	%rax, %r14
	cmpq	$0, (%rbx)
	je	LBB0_11
LBB0_10:
	movq	_ASIC_QSFP2_MASK@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_5:
	movq	_ASIC_QSFP2_CLEAR@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %esi
	movq	_QSFP_HFI0_INT_N@GOTPCREL(%rip), %r15
	movq	(%r15), %rdx
	movq	%rbx, %rdi
	callq	_write_csr
	orq	(%r15), %r14
	cmpq	$0, (%rbx)
	jne	LBB0_10
LBB0_11:
	movq	_ASIC_QSFP1_MASK@GOTPCREL(%rip), %rax
LBB0_12:
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_write_csr                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ASIC_QSFP2_MASK,4,2            ## @ASIC_QSFP2_MASK
	.comm	_ASIC_QSFP1_MASK,4,2            ## @ASIC_QSFP1_MASK
	.comm	_ASIC_QSFP2_CLEAR,4,2           ## @ASIC_QSFP2_CLEAR
	.comm	_ASIC_QSFP1_CLEAR,4,2           ## @ASIC_QSFP1_CLEAR
	.comm	_QSFP_HFI0_INT_N,8,3            ## @QSFP_HFI0_INT_N
	.no_dead_strip	_set_qsfp_int_n
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_qsfp_int_n
_set_qsfp_int_n:                        ; @set_qsfp_int_n
	.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	x21, x1
	ldr	x19, [x0]
Lloh0:
	adrp	x22, _ASIC_QSFP2_MASK@GOTPAGE
Lloh1:
	ldr	x22, [x22, _ASIC_QSFP2_MASK@GOTPAGEOFF]
	ldr	x8, [x19]
Lloh2:
	adrp	x23, _ASIC_QSFP1_MASK@GOTPAGE
Lloh3:
	ldr	x23, [x23, _ASIC_QSFP1_MASK@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x23, x22, eq
	ldr	w1, [x8]
	mov	x0, x19
	bl	_read_csr
	mov	x20, x0
	cbz	x21, LBB0_2
; %bb.1:
	ldr	x8, [x19]
Lloh4:
	adrp	x9, _ASIC_QSFP2_CLEAR@GOTPAGE
Lloh5:
	ldr	x9, [x9, _ASIC_QSFP2_CLEAR@GOTPAGEOFF]
Lloh6:
	adrp	x10, _ASIC_QSFP1_CLEAR@GOTPAGE
Lloh7:
	ldr	x10, [x10, _ASIC_QSFP1_CLEAR@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x10, x9, eq
	ldr	w1, [x8]
Lloh8:
	adrp	x21, _QSFP_HFI0_INT_N@GOTPAGE
Lloh9:
	ldr	x21, [x21, _QSFP_HFI0_INT_N@GOTPAGEOFF]
	ldr	x2, [x21]
	mov	x0, x19
	bl	_write_csr
	ldr	x8, [x21]
	orr	x2, x8, x20
	b	LBB0_3
LBB0_2:
Lloh10:
	adrp	x8, _QSFP_HFI0_INT_N@GOTPAGE
Lloh11:
	ldr	x8, [x8, _QSFP_HFI0_INT_N@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	bic	x2, x20, x8
LBB0_3:
	ldr	x8, [x19]
	cmp	x8, #0
	csel	x8, x23, x22, eq
	ldr	w1, [x8]
	mov	x0, 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
	b	_write_csr
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_ASIC_QSFP2_MASK,4,2            ; @ASIC_QSFP2_MASK
	.comm	_ASIC_QSFP1_MASK,4,2            ; @ASIC_QSFP1_MASK
	.comm	_ASIC_QSFP2_CLEAR,4,2           ; @ASIC_QSFP2_CLEAR
	.comm	_ASIC_QSFP1_CLEAR,4,2           ; @ASIC_QSFP1_CLEAR
	.comm	_QSFP_HFI0_INT_N,8,3            ; @QSFP_HFI0_INT_N
	.no_dead_strip	_set_qsfp_int_n
.subsections_via_symbols
