	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qib_qsfp_mod_present           ## -- Begin function qib_qsfp_mod_present
	.p2align	4, 0x90
_qib_qsfp_mod_present:                  ## @qib_qsfp_mod_present
	.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	_QSFP_GPIO_MOD_PRS_N@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_QSFP_GPIO_PORT2_SHIFT@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	imull	(%rdi), %ecx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %ebx
	movq	8(%rdi), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	*(%rdi)
	andl	%ebx, %eax
	movl	(%r15), %ecx
	imull	(%r14), %ecx
	addb	$3, %cl
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %eax
	xorl	%ecx, %ecx
	testl	%eax, %eax
	sete	%cl
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.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
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qib_qsfp_mod_present           ; -- Begin function qib_qsfp_mod_present
	.p2align	2
_qib_qsfp_mod_present:                  ; @qib_qsfp_mod_present
	.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_GPIO_MOD_PRS_N@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QSFP_GPIO_MOD_PRS_N@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x20, _QSFP_GPIO_PORT2_SHIFT@GOTPAGE
Lloh4:
	ldr	x20, [x20, _QSFP_GPIO_PORT2_SHIFT@GOTPAGEOFF]
	ldr	w9, [x0]
	ldr	w10, [x20]
	mul	w9, w10, w9
	lsl	w21, w8, w9
	ldr	x0, [x0, #8]
	ldr	x8, [x0]
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	blr	x8
	and	w8, w0, w21
	ldr	w9, [x19]
	ldr	w10, [x20]
	orr	w11, wzr, #0x3
	madd	w9, w10, w9, w11
	asr	w8, w8, w9
	cmp	w8, #0
	cset	w0, eq
	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 AdrpLdrGot	Lloh3, Lloh4
	.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
.subsections_via_symbols
