	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cdns_i3c_master_unqueue_xfer
_cdns_i3c_master_unqueue_xfer:          ## @cdns_i3c_master_unqueue_xfer
	.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	%rsi, %rbx
	movq	%rdi, %r14
	callq	_spin_lock_irqsave
	cmpq	%rbx, 8(%r14)
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	callq	_list_del_init
	jmp	LBB0_3
LBB0_1:
	movq	_CTRL@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	addq	16(%r14), %rdi
	callq	_readl
	movq	_CTRL_DEV_EN@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	notl	%edi
	andl	%eax, %edi
	movq	(%rbx), %rsi
	addq	16(%r14), %rsi
	callq	_writel
	movq	_MST_STATUS0@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	16(%r14), %rdi
	xorl	%edx, %edx
	movl	$10, %ecx
	movl	$1000000, %r8d                  ## imm = 0xF4240
	callq	_readl_poll_timeout_atomic
	movq	$0, 8(%r14)
	movq	_FLUSH_RX_FIFO@GOTPCREL(%rip), %rax
	movq	_FLUSH_TX_FIFO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	movq	_FLUSH_CMD_FIFO@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_FLUSH_CMD_RESP@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_FLUSH_CTRL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	16(%r14), %rsi
	callq	_writel
	movq	_MST_INT_CMDD_EMP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_MST_IDR@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	16(%r14), %rsi
	callq	_writel
	movq	(%rbx), %rdi
	addq	16(%r14), %rdi
	callq	_readl
	orl	(%r15), %eax
	movq	(%rbx), %rsi
	addq	16(%r14), %rsi
	movl	%eax, %edi
	callq	_writel
LBB0_3:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CTRL,8,3                       ## @CTRL
	.comm	_CTRL_DEV_EN,4,2                ## @CTRL_DEV_EN
	.comm	_MST_STATUS0,8,3                ## @MST_STATUS0
	.comm	_MST_STATUS0_IDLE,4,2           ## @MST_STATUS0_IDLE
	.comm	_FLUSH_RX_FIFO,4,2              ## @FLUSH_RX_FIFO
	.comm	_FLUSH_TX_FIFO,4,2              ## @FLUSH_TX_FIFO
	.comm	_FLUSH_CMD_FIFO,4,2             ## @FLUSH_CMD_FIFO
	.comm	_FLUSH_CMD_RESP,4,2             ## @FLUSH_CMD_RESP
	.comm	_FLUSH_CTRL,8,3                 ## @FLUSH_CTRL
	.comm	_MST_INT_CMDD_EMP,4,2           ## @MST_INT_CMDD_EMP
	.comm	_MST_IDR,8,3                    ## @MST_IDR
	.no_dead_strip	_cdns_i3c_master_unqueue_xfer
.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_unqueue_xfer
_cdns_i3c_master_unqueue_xfer:          ; @cdns_i3c_master_unqueue_xfer
	.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, x1
	mov	x19, x0
	bl	_spin_lock_irqsave
	ldr	x8, [x19, #8]
	cmp	x8, x20
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_list_del_init
	b	LBB0_3
LBB0_2:
	ldr	x8, [x19, #16]
Lloh0:
	adrp	x20, _CTRL@GOTPAGE
Lloh1:
	ldr	x20, [x20, _CTRL@GOTPAGEOFF]
	ldr	x9, [x20]
	add	x0, x9, x8
	bl	_readl
Lloh2:
	adrp	x21, _CTRL_DEV_EN@GOTPAGE
Lloh3:
	ldr	x21, [x21, _CTRL_DEV_EN@GOTPAGEOFF]
	ldr	w8, [x21]
	bic	w0, w0, w8
	ldr	x8, [x19, #16]
	ldr	x9, [x20]
	add	x1, x9, x8
	bl	_writel
	ldr	x8, [x19, #16]
Lloh4:
	adrp	x9, _MST_STATUS0@GOTPAGE
Lloh5:
	ldr	x9, [x9, _MST_STATUS0@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	add	x0, x9, x8
	mov	w2, #0
	mov	w3, #10
	mov	w4, #16960
	movk	w4, #15, lsl #16
	bl	_readl_poll_timeout_atomic
	str	xzr, [x19, #8]
Lloh7:
	adrp	x8, _FLUSH_RX_FIFO@GOTPAGE
Lloh8:
	ldr	x8, [x8, _FLUSH_RX_FIFO@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _FLUSH_TX_FIFO@GOTPAGE
Lloh11:
	ldr	x9, [x9, _FLUSH_TX_FIFO@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
Lloh13:
	adrp	x10, _FLUSH_CMD_FIFO@GOTPAGE
Lloh14:
	ldr	x10, [x10, _FLUSH_CMD_FIFO@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh15:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh16:
	adrp	x9, _FLUSH_CMD_RESP@GOTPAGE
Lloh17:
	ldr	x9, [x9, _FLUSH_CMD_RESP@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	orr	w0, w8, w9
	ldr	x8, [x19, #16]
Lloh19:
	adrp	x9, _FLUSH_CTRL@GOTPAGE
Lloh20:
	ldr	x9, [x9, _FLUSH_CTRL@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
Lloh22:
	adrp	x8, _MST_INT_CMDD_EMP@GOTPAGE
Lloh23:
	ldr	x8, [x8, _MST_INT_CMDD_EMP@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	ldr	x8, [x19, #16]
Lloh25:
	adrp	x9, _MST_IDR@GOTPAGE
Lloh26:
	ldr	x9, [x9, _MST_IDR@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldr	x8, [x19, #16]
	ldr	x9, [x20]
	add	x0, x9, x8
	bl	_readl
	ldr	w8, [x21]
	orr	w0, w8, w0
	ldr	x8, [x19, #16]
	ldr	x9, [x20]
	add	x1, x9, x8
	bl	_writel
LBB0_3:
	mov	x0, x19
	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	_spin_unlock_irqrestore
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_CTRL,8,3                       ; @CTRL
	.comm	_CTRL_DEV_EN,4,2                ; @CTRL_DEV_EN
	.comm	_MST_STATUS0,8,3                ; @MST_STATUS0
	.comm	_MST_STATUS0_IDLE,4,2           ; @MST_STATUS0_IDLE
	.comm	_FLUSH_RX_FIFO,4,2              ; @FLUSH_RX_FIFO
	.comm	_FLUSH_TX_FIFO,4,2              ; @FLUSH_TX_FIFO
	.comm	_FLUSH_CMD_FIFO,4,2             ; @FLUSH_CMD_FIFO
	.comm	_FLUSH_CMD_RESP,4,2             ; @FLUSH_CMD_RESP
	.comm	_FLUSH_CTRL,8,3                 ; @FLUSH_CTRL
	.comm	_MST_INT_CMDD_EMP,4,2           ; @MST_INT_CMDD_EMP
	.comm	_MST_IDR,8,3                    ; @MST_IDR
	.no_dead_strip	_cdns_i3c_master_unqueue_xfer
.subsections_via_symbols
