	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qib_init_7322_qsfp
_qib_init_7322_qsfp:                    ## @qib_init_7322_qsfp
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	16(%rdi), %rax
	movq	_QSFP_GPIO_MOD_PRS_N@GOTPCREL(%rip), %rdx
	movq	_QSFP_GPIO_PORT2_SHIFT@GOTPCREL(%rip), %rsi
	movl	(%rdi), %ecx
	imull	(%rsi), %ecx
	movl	(%rdx), %r14d
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %r14d
	movq	8(%rdi), %rbx
	movq	%rdi, (%rax)
	movq	_qsfp_7322_event@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rax, %rdi
	callq	_qib_qsfp_init
	movq	(%rbx), %rdi
	addq	$8, %rdi
	callq	_spin_lock_irqsave
	movq	_EXTCtrl@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GPIOInvert@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_SYM_LSB
	movl	%r14d, %edx
	movl	%eax, %ecx
	shll	%cl, %edx
	movq	(%rbx), %rax
	orl	(%rax), %edx
	movl	%edx, (%rax)
	orl	%r14d, 4(%rax)
	movq	_kr_extctrl@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_qib_write_kreg
	movq	_kr_gpio_mask@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%rbx), %rax
	movl	4(%rax), %edx
	movq	%rbx, %rdi
	callq	_qib_write_kreg
	movq	(%rbx), %rdi
	addq	$8, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_QSFP_GPIO_MOD_PRS_N,4,2        ## @QSFP_GPIO_MOD_PRS_N
	.comm	_QSFP_GPIO_PORT2_SHIFT,4,2      ## @QSFP_GPIO_PORT2_SHIFT
	.comm	_qsfp_7322_event,4,2            ## @qsfp_7322_event
	.comm	_EXTCtrl,4,2                    ## @EXTCtrl
	.comm	_GPIOInvert,4,2                 ## @GPIOInvert
	.comm	_kr_extctrl,4,2                 ## @kr_extctrl
	.comm	_kr_gpio_mask,4,2               ## @kr_gpio_mask
	.no_dead_strip	_qib_init_7322_qsfp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qib_init_7322_qsfp
_qib_init_7322_qsfp:                    ; @qib_init_7322_qsfp
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x9, _QSFP_GPIO_MOD_PRS_N@GOTPAGE
Lloh1:
	ldr	x9, [x9, _QSFP_GPIO_MOD_PRS_N@GOTPAGEOFF]
	ldp	x19, x8, [x0, #8]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _QSFP_GPIO_PORT2_SHIFT@GOTPAGE
Lloh4:
	ldr	x10, [x10, _QSFP_GPIO_PORT2_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	ldr	w11, [x0]
	mul	w10, w11, w10
	lsl	w20, w9, w10
	str	x0, [x8]
Lloh6:
	adrp	x9, _qsfp_7322_event@GOTPAGE
Lloh7:
	ldr	x9, [x9, _qsfp_7322_event@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x9]
	mov	x0, x8
	bl	_qib_qsfp_init
	ldr	x8, [x19]
	add	x0, x8, #8
	bl	_spin_lock_irqsave
Lloh9:
	adrp	x8, _EXTCtrl@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EXTCtrl@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x8, _GPIOInvert@GOTPAGE
Lloh13:
	ldr	x8, [x8, _GPIOInvert@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	bl	_SYM_LSB
	lsl	w8, w20, w0
	ldr	x9, [x19]
	ldp	w10, w11, [x9]
	orr	w2, w10, w8
	orr	w8, w11, w20
	stp	w2, w8, [x9]
Lloh15:
	adrp	x8, _kr_extctrl@GOTPAGE
Lloh16:
	ldr	x8, [x8, _kr_extctrl@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_qib_write_kreg
Lloh18:
	adrp	x8, _kr_gpio_mask@GOTPAGE
Lloh19:
	ldr	x8, [x8, _kr_gpio_mask@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	ldr	x8, [x19]
	ldr	w2, [x8, #4]
	mov	x0, x19
	bl	_qib_write_kreg
	ldr	x8, [x19]
	add	x0, x8, #8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_spin_unlock_irqrestore
	.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	_QSFP_GPIO_MOD_PRS_N,4,2        ; @QSFP_GPIO_MOD_PRS_N
	.comm	_QSFP_GPIO_PORT2_SHIFT,4,2      ; @QSFP_GPIO_PORT2_SHIFT
	.comm	_qsfp_7322_event,4,2            ; @qsfp_7322_event
	.comm	_EXTCtrl,4,2                    ; @EXTCtrl
	.comm	_GPIOInvert,4,2                 ; @GPIOInvert
	.comm	_kr_extctrl,4,2                 ; @kr_extctrl
	.comm	_kr_gpio_mask,4,2               ; @kr_gpio_mask
	.no_dead_strip	_qib_init_7322_qsfp
.subsections_via_symbols
