	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rcar_i2c_request_dma
_rcar_i2c_request_dma:                  ## @rcar_i2c_request_dma
	.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	%rsi, %r12
	movq	%rdi, %r15
	callq	_rcar_i2c_priv_to_dev
	movq	%rax, %r14
	movq	_I2C_M_RD@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	xorl	%ebx, %ebx
	andl	(%r12), %r13d
	setne	%bl
	movq	(%r15,%rbx,8), %rdi
	callq	_PTR_ERR
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	jne	LBB0_5
## %bb.1:
	shlq	$3, %rbx
	testl	%r13d, %r13d
	jne	LBB0_2
## %bb.3:
	movq	_DMA_MEM_TO_DEV@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	movq	_DMA_DEV_TO_MEM@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %esi
	movq	16(%r15), %rax
	movq	_ICRXTX@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	addq	(%rax), %rdx
	movq	%r14, %rdi
	callq	_rcar_i2c_request_dma_chan
	movq	%rax, (%r15,%rbx)
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I2C_M_RD,4,2                   ## @I2C_M_RD
	.comm	_EPROBE_DEFER,4,2               ## @EPROBE_DEFER
	.comm	_DMA_DEV_TO_MEM,4,2             ## @DMA_DEV_TO_MEM
	.comm	_DMA_MEM_TO_DEV,4,2             ## @DMA_MEM_TO_DEV
	.comm	_ICRXTX,8,3                     ## @ICRXTX
	.no_dead_strip	_rcar_i2c_request_dma
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rcar_i2c_request_dma
_rcar_i2c_request_dma:                  ; @rcar_i2c_request_dma
	.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	x21, x1
	mov	x19, x0
	bl	_rcar_i2c_priv_to_dev
	mov	x20, x0
	ldr	w8, [x21]
Lloh0:
	adrp	x9, _I2C_M_RD@GOTPAGE
Lloh1:
	ldr	x9, [x9, _I2C_M_RD@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	ands	w22, w9, w8
	cset	w8, ne
	lsl	x21, x8, #3
	ldr	x0, [x19, x21]
	bl	_PTR_ERR
Lloh3:
	adrp	x8, _EPROBE_DEFER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmn	w0, w8
	b.ne	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _DMA_DEV_TO_MEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DMA_DEV_TO_MEM@GOTPAGEOFF]
Lloh8:
	adrp	x9, _DMA_MEM_TO_DEV@GOTPAGE
Lloh9:
	ldr	x9, [x9, _DMA_MEM_TO_DEV@GOTPAGEOFF]
	cmp	w22, #0
	csel	x8, x9, x8, eq
	ldr	w1, [x8]
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
Lloh10:
	adrp	x9, _ICRXTX@GOTPAGE
Lloh11:
	ldr	x9, [x9, _ICRXTX@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	add	x2, x9, x8
	mov	x0, x20
	bl	_rcar_i2c_request_dma_chan
	str	x0, [x19, x21]
LBB0_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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_I2C_M_RD,4,2                   ; @I2C_M_RD
	.comm	_EPROBE_DEFER,4,2               ; @EPROBE_DEFER
	.comm	_DMA_DEV_TO_MEM,4,2             ; @DMA_DEV_TO_MEM
	.comm	_DMA_MEM_TO_DEV,4,2             ; @DMA_MEM_TO_DEV
	.comm	_ICRXTX,8,3                     ; @ICRXTX
	.no_dead_strip	_rcar_i2c_request_dma
.subsections_via_symbols
