	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ocelot_mact_wait_for_completion
_ocelot_mact_wait_for_completion:       ## @ocelot_mact_wait_for_completion
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdi, %rsi
	movq	_ocelot_mact_read_macaccess@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_MACACCESS_CMD_IDLE@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	cmpl	$0, (%rax)
	sete	%cl
	movq	_TABLE_UPDATE_SLEEP_US@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_TABLE_UPDATE_TIMEOUT_US@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	popq	%rbp
	jmp	_readx_poll_timeout             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ocelot_mact_read_macaccess,4,2 ## @ocelot_mact_read_macaccess
	.comm	_ANA_TABLES_MACACCESS_MAC_TABLE_CMD_M,4,2 ## @ANA_TABLES_MACACCESS_MAC_TABLE_CMD_M
	.comm	_MACACCESS_CMD_IDLE,4,2         ## @MACACCESS_CMD_IDLE
	.comm	_TABLE_UPDATE_SLEEP_US,4,2      ## @TABLE_UPDATE_SLEEP_US
	.comm	_TABLE_UPDATE_TIMEOUT_US,4,2    ## @TABLE_UPDATE_TIMEOUT_US
	.no_dead_strip	_ocelot_mact_wait_for_completion
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ocelot_mact_wait_for_completion
_ocelot_mact_wait_for_completion:       ; @ocelot_mact_wait_for_completion
	.cfi_startproc
; %bb.0:
	mov	x1, x0
Lloh0:
	adrp	x8, _ocelot_mact_read_macaccess@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ocelot_mact_read_macaccess@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _MACACCESS_CMD_IDLE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MACACCESS_CMD_IDLE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, #0
	cset	w3, eq
Lloh6:
	adrp	x8, _TABLE_UPDATE_SLEEP_US@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TABLE_UPDATE_SLEEP_US@GOTPAGEOFF]
Lloh8:
	ldr	w4, [x8]
Lloh9:
	adrp	x8, _TABLE_UPDATE_TIMEOUT_US@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TABLE_UPDATE_TIMEOUT_US@GOTPAGEOFF]
Lloh11:
	ldr	w5, [x8]
	b	_readx_poll_timeout
	.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	_ocelot_mact_read_macaccess,4,2 ; @ocelot_mact_read_macaccess
	.comm	_ANA_TABLES_MACACCESS_MAC_TABLE_CMD_M,4,2 ; @ANA_TABLES_MACACCESS_MAC_TABLE_CMD_M
	.comm	_MACACCESS_CMD_IDLE,4,2         ; @MACACCESS_CMD_IDLE
	.comm	_TABLE_UPDATE_SLEEP_US,4,2      ; @TABLE_UPDATE_SLEEP_US
	.comm	_TABLE_UPDATE_TIMEOUT_US,4,2    ; @TABLE_UPDATE_TIMEOUT_US
	.no_dead_strip	_ocelot_mact_wait_for_completion
.subsections_via_symbols
