	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlxsw_emad_transmit_retry
_mlxsw_emad_transmit_retry:             ## @mlxsw_emad_transmit_retry
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	movq	(%rsi), %rax
	movq	_MLXSW_EMAD_MAX_RETRY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_3
## %bb.1:
	incq	%rax
	movq	%rax, (%rbx)
	movl	8(%rbx), %edi
	movq	%rbx, %rsi
	callq	_mlxsw_emad_transmit
	movl	%eax, %esi
	testl	%eax, %eax
	jne	LBB0_4
## %bb.2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_3:
	movq	_EIO@GOTPCREL(%rip), %rax
	xorl	%esi, %esi
	subl	(%rax), %esi
LBB0_4:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mlxsw_emad_trans_finish        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MLXSW_EMAD_MAX_RETRY,8,3       ## @MLXSW_EMAD_MAX_RETRY
	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_mlxsw_emad_transmit_retry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlxsw_emad_transmit_retry
_mlxsw_emad_transmit_retry:             ; @mlxsw_emad_transmit_retry
	.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, x1
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _MLXSW_EMAD_MAX_RETRY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MLXSW_EMAD_MAX_RETRY@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_3
; %bb.1:
	add	x8, x8, #1
	str	x8, [x19]
	ldr	w0, [x19, #8]
	mov	x1, x19
	bl	_mlxsw_emad_transmit
	mov	x1, x0
	cbnz	w0, LBB0_4
; %bb.2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
Lloh3:
	adrp	x8, _EIO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w1, w8
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mlxsw_emad_trans_finish
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MLXSW_EMAD_MAX_RETRY,8,3       ; @MLXSW_EMAD_MAX_RETRY
	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_mlxsw_emad_transmit_retry
.subsections_via_symbols
