	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlxsw_core_reg_access
_mlxsw_core_reg_access:                 ## @mlxsw_core_reg_access
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_bulk_list@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_LIST_HEAD
	cmpl	$0, (%rbx)
	je	LBB0_3
## %bb.1:
	movq	_mlxsw_core_reg_access_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r12, (%rsp)
	movq	_bulk_list@GOTPCREL(%rip), %r8
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movl	%r14d, %ecx
	callq	_mlxsw_core_reg_access_emad
	testl	%eax, %eax
	je	LBB0_4
## %bb.2:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movl	%r14d, %ecx
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mlxsw_core_reg_access_cmd      ## TAILCALL
LBB0_4:
	movq	_bulk_list@GOTPCREL(%rip), %rdi
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mlxsw_reg_trans_bulk_wait      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_bulk_list,4,2                  ## @bulk_list
	.comm	_mlxsw_core_reg_access_cb,4,2   ## @mlxsw_core_reg_access_cb
	.no_dead_strip	_mlxsw_core_reg_access
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlxsw_core_reg_access
_mlxsw_core_reg_access:                 ; @mlxsw_core_reg_access
	.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	x20, x3
	mov	x19, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _bulk_list@GOTPAGE
Lloh1:
	ldr	x8, [x8, _bulk_list@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_LIST_HEAD
	ldr	w8, [x22]
	cbz	w8, LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _mlxsw_core_reg_access_cb@GOTPAGE
Lloh4:
	ldr	x8, [x8, _mlxsw_core_reg_access_cb@GOTPAGEOFF]
Lloh5:
	ldr	w5, [x8]
Lloh6:
	adrp	x4, _bulk_list@GOTPAGE
Lloh7:
	ldr	x4, [x4, _bulk_list@GOTPAGEOFF]
	mov	x0, x22
	mov	x1, x21
	mov	x2, x19
	mov	x3, x20
	mov	x6, x19
	bl	_mlxsw_core_reg_access_emad
	cbz	w0, LBB0_4
; %bb.2:
	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
LBB0_3:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x19
	mov	x3, x20
	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
	b	_mlxsw_core_reg_access_cmd
LBB0_4:
Lloh8:
	adrp	x0, _bulk_list@GOTPAGE
Lloh9:
	ldr	x0, [x0, _bulk_list@GOTPAGEOFF]
	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
	b	_mlxsw_reg_trans_bulk_wait
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_bulk_list,4,2                  ; @bulk_list
	.comm	_mlxsw_core_reg_access_cb,4,2   ; @mlxsw_core_reg_access_cb
	.no_dead_strip	_mlxsw_core_reg_access
.subsections_via_symbols
