	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function az6027_i2c_xfer
_az6027_i2c_xfer:                       ## @az6027_i2c_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	callq	_i2c_get_adapdata
	movq	%rax, %r15
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$256, %edi                      ## imm = 0x100
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_mutex_lock_interruptible
	testq	%rax, %rax
	js	LBB0_5
## %bb.2:
	cmpl	$3, %r12d
	jl	LBB0_7
## %bb.3:
	leaq	L_.str(%rip), %rdi
	callq	_warn
	movq	-56(%rbp), %r10                 ## 8-byte Reload
	jmp	LBB0_8
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_5:
	movq	%rbx, %rdi
	callq	_kfree
	movq	_EAGAIN@GOTPCREL(%rip), %rax
LBB0_6:
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_64
LBB0_7:
	testl	%r12d, %r12d
	movq	-56(%rbp), %r10                 ## 8-byte Reload
	jle	LBB0_62
LBB0_8:
	xorl	%r13d, %r13d
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_11
LBB0_9:                                 ##   in Loop: Header=BB0_11 Depth=1
	movl	$189, %esi
	movq	%r15, %rdi
	movl	$448, %edx                      ## imm = 0x1C0
	movq	%rbx, %r8
	callq	_az6027_usb_out_op
	movq	-56(%rbp), %r10                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_11 Depth=1
	incl	%r13d
	cmpl	%r12d, %r13d
	jge	LBB0_63
LBB0_11:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_53 Depth 2
                                        ##     Child Loop BB0_58 Depth 2
                                        ##     Child Loop BB0_24 Depth 2
                                        ##     Child Loop BB0_27 Depth 2
                                        ##     Child Loop BB0_45 Depth 2
                                        ##     Child Loop BB0_49 Depth 2
                                        ##     Child Loop BB0_39 Depth 2
                                        ##     Child Loop BB0_42 Depth 2
	movslq	%r13d, %r14
	leaq	(%r14,%r14,2), %r15
	movl	(%r10,%r15,8), %eax
	cmpl	$153, %eax
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	leaq	(%r10,%r15,8), %r12
	movq	8(%r10,%r15,8), %rax
	movzbl	(%rax), %edx
	movl	$190, %esi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	xorl	%ecx, %ecx
	movq	%rbx, %r8
	movl	$1, %r9d
	callq	_az6027_usb_out_op
	movq	-56(%rbp), %r10                 ## 8-byte Reload
	movl	(%r12), %eax
	movl	-44(%rbp), %r12d                ## 4-byte Reload
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=1
	cmpl	$208, %eax
	jne	LBB0_19
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=1
	leal	1(%r13), %ecx
	cmpl	%r12d, %ecx
	jge	LBB0_20
## %bb.15:                              ##   in Loop: Header=BB0_11 Depth=1
	movslq	%ecx, %rdx
	leaq	(%rdx,%rdx,2), %r12
	movq	_I2C_M_RD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 16(%r10,%r12,8)
	je	LBB0_20
## %bb.16:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	%rdx, %r14
	movl	%ecx, %r13d
	movq	8(%r10,%r15,8), %rax
	movl	(%rax), %ecx
	shll	$8, %ecx
	movzwl	%cx, %edx
	movzbl	4(%rax), %ecx
	orl	%edx, %ecx
	movl	20(%r10,%r15,8), %edx
	shll	$8, %edx
	orl	$208, %edx
	movl	20(%r10,%r12,8), %r9d
	addl	$6, %r9d
	movl	$185, %esi
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	movq	%rbx, %r8
	callq	_az6027_usb_in_op
	movq	-56(%rbp), %r10                 ## 8-byte Reload
	movl	20(%r10,%r12,8), %eax
	testl	%eax, %eax
	jle	LBB0_50
## %bb.17:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	8(%r10,%r12,8), %rcx
	cmpl	$4, %eax
	jae	LBB0_51
## %bb.18:                              ##   in Loop: Header=BB0_11 Depth=1
	xorl	%edx, %edx
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	movl	%r13d, %r9d
	jmp	LBB0_58
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_30
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	8(%r10,%r15,8), %rax
	movl	(%rax), %ecx
	shll	$8, %ecx
	movzwl	%cx, %edx
	movzbl	4(%rax), %ecx
	orl	%edx, %ecx
	movl	20(%r10,%r15,8), %edx
	leal	-2(%rdx), %r9d
	cmpl	$3, %edx
	jl	LBB0_28
## %bb.21:                              ##   in Loop: Header=BB0_11 Depth=1
	movslq	8(%rax), %rax
	movq	%rax, (%rbx)
	cmpl	$1, %r9d
	je	LBB0_28
## %bb.22:                              ##   in Loop: Header=BB0_11 Depth=1
	leaq	(%r10,%r15,8), %rax
	addq	$8, %rax
	movl	%r9d, %r8d
	leaq	-1(%r8), %r10
	addq	$-2, %r8
	movl	%r10d, %edx
	andl	$3, %edx
	movl	$1, %esi
	cmpq	$3, %r8
	jb	LBB0_26
## %bb.23:                              ##   in Loop: Header=BB0_11 Depth=1
	andq	$-4, %r10
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_24:                                ##   Parent Loop BB0_11 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rax), %rdi
	movslq	12(%rdi,%rsi,4), %rdi
	movq	%rdi, 8(%rbx,%rsi,8)
	movq	(%rax), %rdi
	movslq	16(%rdi,%rsi,4), %rdi
	movq	%rdi, 16(%rbx,%rsi,8)
	movq	(%rax), %rdi
	movslq	20(%rdi,%rsi,4), %rdi
	movq	%rdi, 24(%rbx,%rsi,8)
	movq	(%rax), %rdi
	movslq	24(%rdi,%rsi,4), %rdi
	movq	%rdi, 32(%rbx,%rsi,8)
	addq	$4, %rsi
	cmpq	%rsi, %r10
	jne	LBB0_24
## %bb.25:                              ##   in Loop: Header=BB0_11 Depth=1
	incq	%rsi
LBB0_26:                                ##   in Loop: Header=BB0_11 Depth=1
	testq	%rdx, %rdx
	je	LBB0_28
	.p2align	4, 0x90
LBB0_27:                                ##   Parent Loop BB0_11 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rax), %rdi
	movslq	8(%rdi,%rsi,4), %rdi
	movq	%rdi, (%rbx,%rsi,8)
	incq	%rsi
	decq	%rdx
	jne	LBB0_27
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_11 Depth=1
	movl	$189, %esi
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	movl	$720, %edx                      ## imm = 0x2D0
	movq	%rbx, %r8
	callq	_az6027_usb_out_op
	movq	-56(%rbp), %r10                 ## 8-byte Reload
LBB0_29:                                ##   in Loop: Header=BB0_11 Depth=1
	movl	-44(%rbp), %r12d                ## 4-byte Reload
LBB0_30:                                ##   in Loop: Header=BB0_11 Depth=1
	leaq	(%r14,%r14,2), %r14
	cmpl	$192, (%r10,%r14,8)
	jne	LBB0_10
## %bb.31:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	_I2C_M_RD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 16(%r10,%r14,8)
	je	LBB0_35
## %bb.32:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	20(%r10,%r14,8), %r9d
	addl	$6, %r9d
	movl	$185, %esi
	movq	%r15, %rdi
	movl	$192, %edx
	xorl	%ecx, %ecx
	movq	%rbx, %r8
	callq	_az6027_usb_in_op
	movq	-56(%rbp), %r10                 ## 8-byte Reload
	movl	20(%r10,%r14,8), %eax
	testl	%eax, %eax
	jle	LBB0_10
## %bb.33:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	8(%r10,%r14,8), %rcx
	cmpl	$4, %eax
	jae	LBB0_43
## %bb.34:                              ##   in Loop: Header=BB0_11 Depth=1
	xorl	%edx, %edx
	jmp	LBB0_49
LBB0_35:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	8(%r10,%r14,8), %rax
	movzbl	(%rax), %ecx
	movl	20(%r10,%r14,8), %edx
	leal	-1(%rdx), %r9d
	cmpl	$2, %edx
	jl	LBB0_9
## %bb.36:                              ##   in Loop: Header=BB0_11 Depth=1
	movslq	4(%rax), %rax
	movq	%rax, (%rbx)
	cmpl	$1, %r9d
	je	LBB0_9
## %bb.37:                              ##   in Loop: Header=BB0_11 Depth=1
	leaq	(%r10,%r14,8), %rax
	addq	$8, %rax
	movl	%r9d, %r8d
	leaq	-1(%r8), %r10
	addq	$-2, %r8
	movl	%r10d, %edx
	andl	$3, %edx
	movl	$1, %esi
	cmpq	$3, %r8
	jb	LBB0_41
## %bb.38:                              ##   in Loop: Header=BB0_11 Depth=1
	andq	$-4, %r10
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_39:                                ##   Parent Loop BB0_11 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rax), %rdi
	movslq	8(%rdi,%rsi,4), %rdi
	movq	%rdi, 8(%rbx,%rsi,8)
	movq	(%rax), %rdi
	movslq	12(%rdi,%rsi,4), %rdi
	movq	%rdi, 16(%rbx,%rsi,8)
	movq	(%rax), %rdi
	movslq	16(%rdi,%rsi,4), %rdi
	movq	%rdi, 24(%rbx,%rsi,8)
	movq	(%rax), %rdi
	movslq	20(%rdi,%rsi,4), %rdi
	movq	%rdi, 32(%rbx,%rsi,8)
	addq	$4, %rsi
	cmpq	%rsi, %r10
	jne	LBB0_39
## %bb.40:                              ##   in Loop: Header=BB0_11 Depth=1
	incq	%rsi
LBB0_41:                                ##   in Loop: Header=BB0_11 Depth=1
	testq	%rdx, %rdx
	je	LBB0_9
	.p2align	4, 0x90
LBB0_42:                                ##   Parent Loop BB0_11 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rax), %rdi
	movslq	4(%rdi,%rsi,4), %rdi
	movq	%rdi, (%rbx,%rsi,8)
	incq	%rsi
	decq	%rdx
	jne	LBB0_42
	jmp	LBB0_9
LBB0_43:                                ##   in Loop: Header=BB0_11 Depth=1
	movl	%eax, %edx
	andl	$-4, %edx
	leaq	-4(%rdx), %rsi
	movq	%rsi, %r8
	shrq	$2, %r8
	incq	%r8
	testq	%rsi, %rsi
	je	LBB0_60
## %bb.44:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	%r8, %rsi
	movabsq	$9223372036854775806, %rdi      ## imm = 0x7FFFFFFFFFFFFFFE
	andq	%rdi, %rsi
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_45:                                ##   Parent Loop BB0_11 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqu	40(%rbx,%rdi,8), %xmm0
	movdqu	56(%rbx,%rdi,8), %xmm1
	pshufd	$232, %xmm0, %xmm0              ## xmm0 = xmm0[0,2,2,3]
	pshufd	$232, %xmm1, %xmm1              ## xmm1 = xmm1[0,2,2,3]
	punpcklqdq	%xmm1, %xmm0            ## xmm0 = xmm0[0],xmm1[0]
	movdqu	%xmm0, (%rcx,%rdi,4)
	movdqu	72(%rbx,%rdi,8), %xmm0
	movdqu	88(%rbx,%rdi,8), %xmm1
	pshufd	$232, %xmm0, %xmm0              ## xmm0 = xmm0[0,2,2,3]
	pshufd	$232, %xmm1, %xmm1              ## xmm1 = xmm1[0,2,2,3]
	punpcklqdq	%xmm1, %xmm0            ## xmm0 = xmm0[0],xmm1[0]
	movdqu	%xmm0, 16(%rcx,%rdi,4)
	addq	$8, %rdi
	addq	$-2, %rsi
	jne	LBB0_45
## %bb.46:                              ##   in Loop: Header=BB0_11 Depth=1
	testb	$1, %r8b
	je	LBB0_48
LBB0_47:                                ##   in Loop: Header=BB0_11 Depth=1
	movdqu	40(%rbx,%rdi,8), %xmm0
	movdqu	56(%rbx,%rdi,8), %xmm1
	pshufd	$232, %xmm0, %xmm0              ## xmm0 = xmm0[0,2,2,3]
	pshufd	$232, %xmm1, %xmm1              ## xmm1 = xmm1[0,2,2,3]
	punpcklqdq	%xmm1, %xmm0            ## xmm0 = xmm0[0],xmm1[0]
	movdqu	%xmm0, (%rcx,%rdi,4)
LBB0_48:                                ##   in Loop: Header=BB0_11 Depth=1
	cmpq	%rax, %rdx
	je	LBB0_10
	.p2align	4, 0x90
LBB0_49:                                ##   Parent Loop BB0_11 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	40(%rbx,%rdx,8), %esi
	movl	%esi, (%rcx,%rdx,4)
	incq	%rdx
	cmpq	%rdx, %rax
	jne	LBB0_49
	jmp	LBB0_10
LBB0_50:                                ##   in Loop: Header=BB0_11 Depth=1
                                        ## kill: def $r13d killed $r13d def $r13
	jmp	LBB0_29
LBB0_51:                                ##   in Loop: Header=BB0_11 Depth=1
	movl	%eax, %edx
	andl	$-4, %edx
	leaq	-4(%rdx), %rsi
	movq	%rsi, %r8
	shrq	$2, %r8
	incq	%r8
	testq	%rsi, %rsi
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	je	LBB0_61
## %bb.52:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	%r8, %rsi
	movabsq	$9223372036854775806, %rdi      ## imm = 0x7FFFFFFFFFFFFFFE
	andq	%rdi, %rsi
	xorl	%edi, %edi
	movl	%r13d, %r9d
	.p2align	4, 0x90
LBB0_53:                                ##   Parent Loop BB0_11 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqu	40(%rbx,%rdi,8), %xmm0
	movdqu	56(%rbx,%rdi,8), %xmm1
	pshufd	$232, %xmm0, %xmm0              ## xmm0 = xmm0[0,2,2,3]
	pshufd	$232, %xmm1, %xmm1              ## xmm1 = xmm1[0,2,2,3]
	punpcklqdq	%xmm1, %xmm0            ## xmm0 = xmm0[0],xmm1[0]
	movdqu	%xmm0, (%rcx,%rdi,4)
	movdqu	72(%rbx,%rdi,8), %xmm0
	movdqu	88(%rbx,%rdi,8), %xmm1
	pshufd	$232, %xmm0, %xmm0              ## xmm0 = xmm0[0,2,2,3]
	pshufd	$232, %xmm1, %xmm1              ## xmm1 = xmm1[0,2,2,3]
	punpcklqdq	%xmm1, %xmm0            ## xmm0 = xmm0[0],xmm1[0]
	movdqu	%xmm0, 16(%rcx,%rdi,4)
	addq	$8, %rdi
	addq	$-2, %rsi
	jne	LBB0_53
## %bb.54:                              ##   in Loop: Header=BB0_11 Depth=1
	testb	$1, %r8b
	je	LBB0_56
LBB0_55:                                ##   in Loop: Header=BB0_11 Depth=1
	movdqu	40(%rbx,%rdi,8), %xmm0
	movdqu	56(%rbx,%rdi,8), %xmm1
	pshufd	$232, %xmm0, %xmm0              ## xmm0 = xmm0[0,2,2,3]
	pshufd	$232, %xmm1, %xmm1              ## xmm1 = xmm1[0,2,2,3]
	punpcklqdq	%xmm1, %xmm0            ## xmm0 = xmm0[0],xmm1[0]
	movdqu	%xmm0, (%rcx,%rdi,4)
LBB0_56:                                ##   in Loop: Header=BB0_11 Depth=1
	cmpq	%rax, %rdx
	je	LBB0_59
	.p2align	4, 0x90
LBB0_58:                                ##   Parent Loop BB0_11 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	40(%rbx,%rdx,8), %esi
	movl	%esi, (%rcx,%rdx,4)
	incq	%rdx
	cmpq	%rdx, %rax
	jne	LBB0_58
LBB0_59:                                ##   in Loop: Header=BB0_11 Depth=1
	movl	%r9d, %r13d
	jmp	LBB0_30
LBB0_60:                                ##   in Loop: Header=BB0_11 Depth=1
	xorl	%edi, %edi
	testb	$1, %r8b
	jne	LBB0_47
	jmp	LBB0_48
LBB0_61:                                ##   in Loop: Header=BB0_11 Depth=1
	xorl	%edi, %edi
	movl	%r13d, %r9d
	testb	$1, %r8b
	jne	LBB0_55
	jmp	LBB0_56
LBB0_62:
	xorl	%r13d, %r13d
LBB0_63:
	movq	%r15, %rdi
	callq	_mutex_unlock
	movq	%rbx, %rdi
	callq	_kfree
LBB0_64:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"more than 2 i2c messages at a time is not handled yet. TODO."

	.comm	_I2C_M_RD,4,2                   ## @I2C_M_RD
	.no_dead_strip	_az6027_i2c_xfer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function az6027_i2c_xfer
_az6027_i2c_xfer:                       ; @az6027_i2c_xfer
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x20, x2
	mov	x21, x1
	bl	_i2c_get_adapdata
	mov	x19, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #256
	bl	_kmalloc
	cbz	x0, LBB0_4
; %bb.1:
	mov	x22, x0
	mov	x0, x19
	bl	_mutex_lock_interruptible
	tbnz	x0, #63, LBB0_5
; %bb.2:
	cmp	w20, #3
	b.lt	LBB0_7
; %bb.3:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_warn
	b	LBB0_8
LBB0_4:
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
	mov	x0, x22
	bl	_kfree
Lloh7:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_46
LBB0_7:
	cmp	w20, #1
	b.lt	LBB0_44
LBB0_8:
	mov	w23, #0
	add	x9, x22, #56
	add	x8, x22, #40
	stp	x9, x8, [sp]                    ; 16-byte Folded Spill
	add	x26, x22, #8
	mov	w27, #24
Lloh9:
	adrp	x28, _I2C_M_RD@GOTPAGE
Lloh10:
	ldr	x28, [x28, _I2C_M_RD@GOTPAGEOFF]
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x19
	mov	w1, #189
	mov	w2, #448
	mov	x4, x22
                                        ; kill: def $w5 killed $w5 killed $x5
	bl	_az6027_usb_out_op
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	add	w23, w23, #1
	cmp	w23, w20
	b.ge	LBB0_45
LBB0_11:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_25 Depth 2
                                        ;     Child Loop BB0_28 Depth 2
                                        ;     Child Loop BB0_22 Depth 2
                                        ;     Child Loop BB0_40 Depth 2
                                        ;     Child Loop BB0_43 Depth 2
                                        ;     Child Loop BB0_38 Depth 2
	sxtw	x24, w23
	smaddl	x25, w23, w27, x21
	ldr	w8, [x25]
	cmp	w8, #153
	b.ne	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	madd	x8, x24, x27, x21
	ldr	x8, [x8, #8]
	ldrb	w2, [x8]
	mov	x0, x19
	mov	w1, #190
	mov	w3, #0
	mov	x4, x22
	mov	w5, #1
	bl	_az6027_usb_out_op
	ldr	w8, [x25]
LBB0_13:                                ;   in Loop: Header=BB0_11 Depth=1
	cmp	w8, #208
	b.ne	LBB0_30
; %bb.14:                               ;   in Loop: Header=BB0_11 Depth=1
	add	x25, x24, #1
	cmp	w25, w20
	b.ge	LBB0_19
; %bb.15:                               ;   in Loop: Header=BB0_11 Depth=1
	madd	x8, x25, x27, x21
	ldr	w8, [x8, #16]
	ldr	w9, [x28]
	tst	w9, w8
	b.eq	LBB0_19
; %bb.16:                               ;   in Loop: Header=BB0_11 Depth=1
	madd	x8, x24, x27, x21
	ldr	x9, [x8, #8]
	ldr	w10, [x9]
	ldrb	w3, [x9, #4]
	bfi	w3, w10, #8, #8
	ldr	w8, [x8, #20]
	mov	w2, #208
	bfi	w2, w8, #8, #24
	madd	x23, x25, x27, x21
	ldr	w8, [x23, #20]
	add	w5, w8, #6
	mov	x0, x19
	mov	w1, #185
	mov	x4, x22
	bl	_az6027_usb_in_op
	ldr	w8, [x23, #20]
	cmp	w8, #1
	b.lt	LBB0_29
; %bb.17:                               ;   in Loop: Header=BB0_11 Depth=1
	madd	x9, x25, x27, x21
	ldr	x9, [x9, #8]
	cmp	w8, #8
	b.hs	LBB0_24
; %bb.18:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x10, #0
	b	LBB0_27
LBB0_19:                                ;   in Loop: Header=BB0_11 Depth=1
	madd	x8, x24, x27, x21
	ldr	x10, [x8, #8]!
	ldr	w9, [x10]
	ldrb	w3, [x10, #4]
	ldr	w11, [x8, #12]
	sub	w5, w11, #2
	cmp	w11, #3
	b.lt	LBB0_23
; %bb.20:                               ;   in Loop: Header=BB0_11 Depth=1
	ldrsw	x10, [x10, #8]
	str	x10, [x22]
	cmp	w5, #1
	b.eq	LBB0_23
; %bb.21:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x10, #0
	sub	x11, x5, #1
LBB0_22:                                ;   Parent Loop BB0_11 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x12, [x8]
	add	x12, x12, x10, lsl #2
	ldrsw	x12, [x12, #12]
	str	x12, [x26, x10, lsl #3]
	add	x10, x10, #1
	cmp	x11, x10
	b.ne	LBB0_22
LBB0_23:                                ;   in Loop: Header=BB0_11 Depth=1
	bfi	w3, w9, #8, #8
	mov	x0, x19
	mov	w1, #189
	mov	w2, #720
	mov	x4, x22
                                        ; kill: def $w5 killed $w5 killed $x5
	bl	_az6027_usb_out_op
	b	LBB0_30
LBB0_24:                                ;   in Loop: Header=BB0_11 Depth=1
	and	x10, x8, #0xfffffff8
	add	x11, x9, #16
	ldr	x12, [sp]                       ; 8-byte Folded Reload
	mov	x13, x10
LBB0_25:                                ;   Parent Loop BB0_11 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	q0, q1, [x12, #-16]
	ldp	q2, q3, [x12, #16]
	xtn.2s	v0, v0
	xtn.2s	v1, v1
	xtn.2s	v2, v2
	xtn.2s	v3, v3
	stp	d0, d1, [x11, #-16]
	stp	d2, d3, [x11], #32
	add	x12, x12, #64
	subs	x13, x13, #8
	b.ne	LBB0_25
; %bb.26:                               ;   in Loop: Header=BB0_11 Depth=1
	cmp	x10, x8
	b.eq	LBB0_29
LBB0_27:                                ;   in Loop: Header=BB0_11 Depth=1
	ldr	x11, [sp, #8]                   ; 8-byte Folded Reload
	add	x11, x11, x10, lsl #3
	sub	x8, x8, x10
	add	x9, x9, x10, lsl #2
LBB0_28:                                ;   Parent Loop BB0_11 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x10, [x11], #8
	str	w10, [x9], #4
	subs	x8, x8, #1
	b.ne	LBB0_28
LBB0_29:                                ;   in Loop: Header=BB0_11 Depth=1
	mov	x24, x25
	mov	x23, x25
LBB0_30:                                ;   in Loop: Header=BB0_11 Depth=1
	mul	x8, x24, x27
	ldr	w8, [x21, x8]
	cmp	w8, #192
	b.ne	LBB0_10
; %bb.31:                               ;   in Loop: Header=BB0_11 Depth=1
	madd	x8, x24, x27, x21
	ldr	w8, [x8, #16]
	ldr	w9, [x28]
	tst	w9, w8
	b.eq	LBB0_35
; %bb.32:                               ;   in Loop: Header=BB0_11 Depth=1
	madd	x25, x24, x27, x21
	ldr	w8, [x25, #20]
	add	w5, w8, #6
	mov	x0, x19
	mov	w1, #185
	mov	w2, #192
	mov	w3, #0
	mov	x4, x22
	bl	_az6027_usb_in_op
	ldr	w8, [x25, #20]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.33:                               ;   in Loop: Header=BB0_11 Depth=1
	madd	x9, x24, x27, x21
	ldr	x9, [x9, #8]
	cmp	w8, #8
	b.hs	LBB0_39
; %bb.34:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x10, #0
	b	LBB0_42
LBB0_35:                                ;   in Loop: Header=BB0_11 Depth=1
	madd	x8, x24, x27, x21
	ldr	x9, [x8, #8]!
	ldrb	w3, [x9]
	ldr	w10, [x8, #12]
	sub	w5, w10, #1
	cmp	w10, #2
	b.lt	LBB0_9
; %bb.36:                               ;   in Loop: Header=BB0_11 Depth=1
	ldrsw	x9, [x9, #4]
	str	x9, [x22]
	cmp	w5, #1
	b.eq	LBB0_9
; %bb.37:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x9, #0
	sub	x10, x5, #1
LBB0_38:                                ;   Parent Loop BB0_11 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x11, [x8]
	add	x11, x11, x9, lsl #2
	ldrsw	x11, [x11, #8]
	str	x11, [x26, x9, lsl #3]
	add	x9, x9, #1
	cmp	x10, x9
	b.ne	LBB0_38
	b	LBB0_9
LBB0_39:                                ;   in Loop: Header=BB0_11 Depth=1
	and	x10, x8, #0xfffffff8
	add	x11, x9, #16
	ldr	x12, [sp]                       ; 8-byte Folded Reload
	mov	x13, x10
LBB0_40:                                ;   Parent Loop BB0_11 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	q0, q1, [x12, #-16]
	ldp	q2, q3, [x12, #16]
	xtn.2s	v0, v0
	xtn.2s	v1, v1
	xtn.2s	v2, v2
	xtn.2s	v3, v3
	stp	d0, d1, [x11, #-16]
	stp	d2, d3, [x11], #32
	add	x12, x12, #64
	subs	x13, x13, #8
	b.ne	LBB0_40
; %bb.41:                               ;   in Loop: Header=BB0_11 Depth=1
	cmp	x10, x8
	b.eq	LBB0_10
LBB0_42:                                ;   in Loop: Header=BB0_11 Depth=1
	ldr	x11, [sp, #8]                   ; 8-byte Folded Reload
	add	x11, x11, x10, lsl #3
	sub	x8, x8, x10
	add	x9, x9, x10, lsl #2
LBB0_43:                                ;   Parent Loop BB0_11 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x10, [x11], #8
	str	w10, [x9], #4
	subs	x8, x8, #1
	b.ne	LBB0_43
	b	LBB0_10
LBB0_44:
	mov	w23, #0
LBB0_45:
	mov	x0, x19
	bl	_mutex_unlock
	mov	x0, x22
	bl	_kfree
LBB0_46:
	mov	x0, x23
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"more than 2 i2c messages at a time is not handled yet. TODO."

	.comm	_I2C_M_RD,4,2                   ; @I2C_M_RD
	.no_dead_strip	_az6027_i2c_xfer
.subsections_via_symbols
