	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qib_qsfp_init                  ## -- Begin function qib_qsfp_init
	.p2align	4, 0x90
_qib_qsfp_init:                         ## @qib_qsfp_init
	.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, %r15
	movq	(%rdi), %rax
	movq	8(%rax), %r14
	addq	$8, %rdi
	callq	_INIT_WORK
	movq	_QSFP_GPIO_MOD_SEL_N@GOTPCREL(%rip), %rax
	movq	_QSFP_GPIO_MOD_RST_N@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	(%rax), %ebx
	orl	%ecx, %ebx
	movq	_QSFP_GPIO_LP_MODE@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movl	%ebx, %esi
	subl	%ecx, %esi
	movq	(%r15), %rax
	xorl	%ecx, %ecx
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_QSFP_GPIO_PORT2_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_2:
	shll	%cl, %esi
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %ebx
	movq	%r14, %rdi
	movl	%ebx, %edx
	movl	%ebx, %ecx
	callq	*(%r14)
	movl	$20, %edi
	callq	_udelay
	movq	(%r14), %rax
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%ebx, %edx
	movl	%ebx, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_QSFP_GPIO_MOD_SEL_N,4,2        ## @QSFP_GPIO_MOD_SEL_N
	.comm	_QSFP_GPIO_MOD_RST_N,4,2        ## @QSFP_GPIO_MOD_RST_N
	.comm	_QSFP_GPIO_LP_MODE,4,2          ## @QSFP_GPIO_LP_MODE
	.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_init                  ; -- Begin function qib_qsfp_init
	.p2align	2
_qib_qsfp_init:                         ; @qib_qsfp_init
	.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
	mov	x19, x0
	ldr	x8, [x0], #8
	ldr	x20, [x8, #8]
	bl	_INIT_WORK
Lloh0:
	adrp	x8, _QSFP_GPIO_MOD_SEL_N@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QSFP_GPIO_MOD_SEL_N@GOTPAGEOFF]
Lloh2:
	adrp	x9, _QSFP_GPIO_MOD_RST_N@GOTPAGE
Lloh3:
	ldr	x9, [x9, _QSFP_GPIO_MOD_RST_N@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x10, _QSFP_GPIO_LP_MODE@GOTPAGE
Lloh7:
	ldr	x10, [x10, _QSFP_GPIO_LP_MODE@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	orr	w8, w8, w10
	sub	w9, w8, w9
	ldr	x10, [x19]
	ldr	x10, [x10]
Lloh9:
	adrp	x11, _QSFP_GPIO_PORT2_SHIFT@GOTPAGE
Lloh10:
	ldr	x11, [x11, _QSFP_GPIO_PORT2_SHIFT@GOTPAGEOFF]
Lloh11:
	ldr	w11, [x11]
	cmp	x10, #0
	csel	w10, wzr, w11, eq
	lsl	w1, w9, w10
	lsl	w19, w8, w10
	ldr	x8, [x20]
	mov	x0, x20
	mov	x2, x19
	mov	x3, x19
	blr	x8
	mov	w0, #20
	bl	_udelay
	ldr	x4, [x20]
	mov	x0, x20
	mov	x1, x19
	mov	x2, x19
	mov	x3, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	br	x4
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_QSFP_GPIO_MOD_SEL_N,4,2        ; @QSFP_GPIO_MOD_SEL_N
	.comm	_QSFP_GPIO_MOD_RST_N,4,2        ; @QSFP_GPIO_MOD_RST_N
	.comm	_QSFP_GPIO_LP_MODE,4,2          ; @QSFP_GPIO_LP_MODE
	.comm	_QSFP_GPIO_PORT2_SHIFT,4,2      ; @QSFP_GPIO_PORT2_SHIFT
.subsections_via_symbols
