	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cdns_i3c_master_start_xfer_locked
_cdns_i3c_master_start_xfer_locked:     ## @cdns_i3c_master_start_xfer_locked
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	8(%rdi), %rbx
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.1:
	movq	%rdi, %r13
	movq	_MST_INT_CMDD_EMP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_MST_ICR@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r13), %rsi
	callq	_writel
	cmpl	$0, (%rbx)
	je	LBB0_7
## %bb.2:
	movq	%rbx, %r12
	movl	$12, %ebx
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rax
	movl	-4(%rax,%rbx), %edx
	movl	(%rax,%rbx), %esi
	movq	%r13, %rdi
	callq	_cdns_i3c_master_wr_to_tx_fifo
	incq	%r15
	movl	(%r12), %eax
	addq	$16, %rbx
	cmpq	%rax, %r15
	jb	LBB0_3
## %bb.4:
	testl	%eax, %eax
	je	LBB0_7
## %bb.5:
	movq	%r12, %rcx
	movl	$4, %r12d
	xorl	%ebx, %ebx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rcx), %r14
	movl	-4(%r14,%r12), %r15d
	movl	%ebx, %edi
	callq	_CMD1_FIFO_CMDID
	orl	%eax, %r15d
	movq	_CMD1_FIFO@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r13), %rsi
	movl	%r15d, %edi
	callq	_writel
	movl	(%r14,%r12), %edi
	movq	_CMD0_FIFO@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r13), %rsi
	callq	_writel
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	incq	%rbx
	movl	(%rcx), %eax
	addq	$16, %r12
	cmpq	%rax, %rbx
	jb	LBB0_6
LBB0_7:
	movq	_CTRL@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	addq	(%r13), %rdi
	callq	_readl
	movq	_CTRL_MCS@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	(%rbx), %rsi
	addq	(%r13), %rsi
	movl	%eax, %edi
	callq	_writel
	movq	_MST_INT_CMDD_EMP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_MST_IER@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r13), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_writel                         ## TAILCALL
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MST_INT_CMDD_EMP,4,2           ## @MST_INT_CMDD_EMP
	.comm	_MST_ICR,8,3                    ## @MST_ICR
	.comm	_CMD1_FIFO,8,3                  ## @CMD1_FIFO
	.comm	_CMD0_FIFO,8,3                  ## @CMD0_FIFO
	.comm	_CTRL,8,3                       ## @CTRL
	.comm	_CTRL_MCS,4,2                   ## @CTRL_MCS
	.comm	_MST_IER,8,3                    ## @MST_IER
	.no_dead_strip	_cdns_i3c_master_start_xfer_locked
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cdns_i3c_master_start_xfer_locked
_cdns_i3c_master_start_xfer_locked:     ; @cdns_i3c_master_start_xfer_locked
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	x22, [x0, #8]
	cbz	x22, LBB0_8
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x21, _MST_INT_CMDD_EMP@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MST_INT_CMDD_EMP@GOTPAGEOFF]
	ldr	w0, [x21]
	ldr	x8, [x19]
Lloh2:
	adrp	x9, _MST_ICR@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MST_ICR@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldr	w8, [x22]
	cbz	w8, LBB0_7
; %bb.2:
	mov	x20, #0
	mov	x23, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22, #8]
	add	x8, x8, x20
	ldp	w2, w1, [x8, #8]
	mov	x0, x19
	bl	_cdns_i3c_master_wr_to_tx_fifo
	add	x23, x23, #1
	ldr	w8, [x22]
	add	x20, x20, #16
	cmp	x23, x8
	b.lo	LBB0_3
; %bb.4:
	cbz	w8, LBB0_7
; %bb.5:
	mov	x23, #0
	mov	x20, #0
Lloh5:
	adrp	x24, _CMD1_FIFO@GOTPAGE
Lloh6:
	ldr	x24, [x24, _CMD1_FIFO@GOTPAGEOFF]
Lloh7:
	adrp	x25, _CMD0_FIFO@GOTPAGE
Lloh8:
	ldr	x25, [x25, _CMD0_FIFO@GOTPAGEOFF]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22, #8]
	add	x26, x8, x23
	ldr	w27, [x26]
	mov	x0, x20
	bl	_CMD1_FIFO_CMDID
	orr	w0, w0, w27
	ldr	x8, [x19]
	ldr	x9, [x24]
	add	x1, x9, x8
	bl	_writel
	ldr	w0, [x26, #4]
	ldr	x8, [x19]
	ldr	x9, [x25]
	add	x1, x9, x8
	bl	_writel
	add	x20, x20, #1
	ldr	w8, [x22]
	add	x23, x23, #16
	cmp	x20, x8
	b.lo	LBB0_6
LBB0_7:
	ldr	x8, [x19]
Lloh9:
	adrp	x20, _CTRL@GOTPAGE
Lloh10:
	ldr	x20, [x20, _CTRL@GOTPAGEOFF]
	ldr	x9, [x20]
	add	x0, x9, x8
	bl	_readl
Lloh11:
	adrp	x8, _CTRL_MCS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CTRL_MCS@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	orr	w0, w8, w0
	ldr	x8, [x19]
	ldr	x9, [x20]
	add	x1, x9, x8
	bl	_writel
	ldr	w0, [x21]
	ldr	x8, [x19]
Lloh14:
	adrp	x9, _MST_IER@GOTPAGE
Lloh15:
	ldr	x9, [x9, _MST_IER@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	add	x1, x9, x8
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_writel
LBB0_8:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_MST_INT_CMDD_EMP,4,2           ; @MST_INT_CMDD_EMP
	.comm	_MST_ICR,8,3                    ; @MST_ICR
	.comm	_CMD1_FIFO,8,3                  ; @CMD1_FIFO
	.comm	_CMD0_FIFO,8,3                  ; @CMD0_FIFO
	.comm	_CTRL,8,3                       ; @CTRL
	.comm	_CTRL_MCS,4,2                   ; @CTRL_MCS
	.comm	_MST_IER,8,3                    ; @MST_IER
	.no_dead_strip	_cdns_i3c_master_start_xfer_locked
.subsections_via_symbols
