	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hidma_mgmt_setup               ## -- Begin function hidma_mgmt_setup
	.p2align	4, 0x90
_hidma_mgmt_setup:                      ## @hidma_mgmt_setup
	.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	%rdi, %r14
	movl	(%rdi), %edi
	callq	_is_power_of_2
	movl	(%r14), %edx
	testl	%eax, %eax
	je	LBB0_6
## %bb.1:
	leal	-1025(%rdx), %eax
	cmpl	$-898, %eax                     ## imm = 0xFC7E
	jbe	LBB0_6
## %bb.2:
	movl	4(%r14), %edi
	callq	_is_power_of_2
	movl	4(%r14), %edx
	testl	%eax, %eax
	je	LBB0_8
## %bb.3:
	leal	-1025(%rdx), %eax
	cmpl	$-898, %eax                     ## imm = 0xFC7E
	jbe	LBB0_8
## %bb.4:
	movq	_HIDMA_MAX_WR_XACTIONS_MASK@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	cmpl	%edx, 8(%r14)
	jle	LBB0_9
## %bb.5:
	movq	56(%r14), %rdi
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_11
LBB0_6:
	movq	56(%r14), %rdi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_7
LBB0_8:
	movq	56(%r14), %rdi
	leaq	L_.str.1(%rip), %rsi
LBB0_7:
	xorl	%ebx, %ebx
                                        ## kill: def $edx killed $edx killed $rdx
	jmp	LBB0_12
LBB0_9:
	movq	_HIDMA_MAX_RD_XACTIONS_MASK@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	cmpl	%edx, 12(%r14)
	jle	LBB0_15
## %bb.10:
	movq	56(%r14), %rdi
	leaq	L_.str.3(%rip), %rsi
LBB0_11:
	xorl	%ebx, %ebx
LBB0_12:
	xorl	%eax, %eax
	callq	_dev_err
LBB0_13:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
LBB0_14:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movl	16(%r14), %eax
	testl	%eax, %eax
	je	LBB0_22
## %bb.16:
	movq	24(%r14), %rcx
	xorl	%esi, %esi
	movq	_HIDMA_MAX_CHANNEL_WEIGHT@GOTPCREL(%rip), %r8
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_18 Depth=1
	incq	%rsi
	movl	%eax, %edx
	cmpq	%rdx, %rsi
	jae	LBB0_22
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	cmpl	$2, (%rcx,%rsi,4)
	jge	LBB0_26
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	32(%r14), %rbx
	movl	(%rbx,%rsi,4), %edi
	movl	(%r8), %edx
	cmpl	%edx, %edi
	jg	LBB0_27
## %bb.20:                              ##   in Loop: Header=BB0_18 Depth=1
	testl	%edi, %edi
	jne	LBB0_17
## %bb.21:                              ##   in Loop: Header=BB0_18 Depth=1
	movl	$1, (%rbx,%rsi,4)
	movl	16(%r14), %eax
	jmp	LBB0_17
LBB0_22:
	movq	56(%r14), %rdi
	callq	_pm_runtime_get_sync
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	_HIDMA_MAX_BUS_REQ_LEN_OFFSET@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addq	64(%rax), %rdi
	callq	_readl
	movq	_HIDMA_MAX_BUS_REQ_LEN_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	_HIDMA_MAX_BUS_WR_REQ_BIT_POS@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	%edi, %edx
	shll	%cl, %edx
	notl	%edx
	andl	%eax, %edx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	shll	%cl, %eax
	orl	%edx, %eax
	notl	%edi
	andl	%eax, %edi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	orl	4(%rax), %edi
	movq	(%r14), %rsi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addq	64(%rax), %rsi
	callq	_writel
	movq	_HIDMA_MAX_XACTIONS_OFFSET@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addq	64(%rax), %rdi
	callq	_readl
	movl	(%r12), %edx
	movq	_HIDMA_MAX_WR_XACTIONS_BIT_POS@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edx
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	8(%rsi), %esi
	shll	%cl, %esi
	notl	%edx
	andl	%eax, %edx
	orl	%edx, %esi
	movl	(%r15), %edi
	notl	%edi
	andl	%esi, %edi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	orl	12(%rax), %edi
	movq	(%r14), %rsi
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	addq	64(%r14), %rsi
	callq	_writel
	movq	_HIDMA_HW_VERSION_OFFSET@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	64(%r14), %rdi
	callq	_readl
	movl	%eax, 40(%r14)
	movl	%eax, %ecx
	shrl	$28, %ecx
	movl	%ecx, 44(%r14)
	shrl	$16, %eax
	andl	$15, %eax
	movl	%eax, 48(%r14)
	cmpl	$0, 16(%r14)
	je	LBB0_25
## %bb.23:
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	movq	24(%r14), %rax
	movq	32(%r14), %rcx
	movl	(%rcx,%r12), %r15d
	movl	(%rax,%r12), %r14d
	movl	%r12d, %ebx
	andl	$-4, %ebx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	64(%rax), %rdi
	addq	%rbx, %rdi
	movq	_HIDMA_QOS_N_OFFSET@GOTPCREL(%rip), %rax
	addq	(%rax), %rdi
	callq	_readl
	movq	_HIDMA_PRIORITY_BIT_POS@GOTPCREL(%rip), %rcx
	movzbl	(%rcx), %edx
	andl	$1, %r14d
	movl	%edx, %ecx
	shll	%cl, %r14d
	movq	_HIDMA_WEIGHT_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_HIDMA_WRR_BIT_POS@GOTPCREL(%rip), %rcx
	movzbl	(%rcx), %ecx
	andl	%esi, %r15d
	shll	%cl, %esi
	btrl	%edx, %eax
	orl	%eax, %r14d
	notl	%esi
	andl	%r14d, %esi
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	shll	%cl, %r15d
	orl	%esi, %r15d
	addq	64(%r14), %rbx
	movq	_HIDMA_QOS_N_OFFSET@GOTPCREL(%rip), %rax
	addq	(%rax), %rbx
	movl	%r15d, %edi
	movq	%rbx, %rsi
	callq	_writel
	incq	%r13
	movl	16(%r14), %eax
	addq	$4, %r12
	cmpq	%rax, %r13
	jb	LBB0_24
LBB0_25:
	movq	_HIDMA_CHRESET_TIMEOUT_OFFSET@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	addq	64(%r14), %rdi
	callq	_readl
	movq	_HIDMA_CHRESET_TIMEOUT_MASK@GOTPCREL(%rip), %rcx
	movl	52(%r14), %edi
	xorl	%eax, %edi
	andl	(%rcx), %edi
	xorl	%eax, %edi
	movq	(%rbx), %rsi
	addq	64(%r14), %rsi
	callq	_writel
	movq	56(%r14), %rdi
	callq	_pm_runtime_mark_last_busy
	movq	56(%r14), %rdi
	callq	_pm_runtime_put_autosuspend
	xorl	%ebx, %ebx
	jmp	LBB0_14
LBB0_26:
	movq	56(%r14), %rdi
	leaq	L_.str.4(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_13
LBB0_27:
	movq	56(%r14), %rdi
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid write request %d\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"invalid read request %d\n"

	.comm	_HIDMA_MAX_WR_XACTIONS_MASK,4,2 ## @HIDMA_MAX_WR_XACTIONS_MASK
L_.str.2:                               ## @.str.2
	.asciz	"max_wr_xactions cannot be bigger than %ld\n"

	.comm	_HIDMA_MAX_RD_XACTIONS_MASK,4,2 ## @HIDMA_MAX_RD_XACTIONS_MASK
L_.str.3:                               ## @.str.3
	.asciz	"max_rd_xactions cannot be bigger than %ld\n"

L_.str.4:                               ## @.str.4
	.asciz	"priority can be 0 or 1\n"

	.comm	_HIDMA_MAX_CHANNEL_WEIGHT,4,2   ## @HIDMA_MAX_CHANNEL_WEIGHT
L_.str.5:                               ## @.str.5
	.asciz	"max value of weight can be %d.\n"

	.comm	_HIDMA_MAX_BUS_REQ_LEN_OFFSET,8,3 ## @HIDMA_MAX_BUS_REQ_LEN_OFFSET
	.comm	_HIDMA_MAX_BUS_REQ_LEN_MASK,4,2 ## @HIDMA_MAX_BUS_REQ_LEN_MASK
	.comm	_HIDMA_MAX_BUS_WR_REQ_BIT_POS,4,2 ## @HIDMA_MAX_BUS_WR_REQ_BIT_POS
	.comm	_HIDMA_MAX_XACTIONS_OFFSET,8,3  ## @HIDMA_MAX_XACTIONS_OFFSET
	.comm	_HIDMA_MAX_WR_XACTIONS_BIT_POS,4,2 ## @HIDMA_MAX_WR_XACTIONS_BIT_POS
	.comm	_HIDMA_HW_VERSION_OFFSET,8,3    ## @HIDMA_HW_VERSION_OFFSET
	.comm	_HIDMA_QOS_N_OFFSET,8,3         ## @HIDMA_QOS_N_OFFSET
	.comm	_HIDMA_PRIORITY_BIT_POS,4,2     ## @HIDMA_PRIORITY_BIT_POS
	.comm	_HIDMA_WEIGHT_MASK,4,2          ## @HIDMA_WEIGHT_MASK
	.comm	_HIDMA_WRR_BIT_POS,4,2          ## @HIDMA_WRR_BIT_POS
	.comm	_HIDMA_CHRESET_TIMEOUT_OFFSET,8,3 ## @HIDMA_CHRESET_TIMEOUT_OFFSET
	.comm	_HIDMA_CHRESET_TIMEOUT_MASK,4,2 ## @HIDMA_CHRESET_TIMEOUT_MASK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hidma_mgmt_setup               ; -- Begin function hidma_mgmt_setup
	.p2align	2
_hidma_mgmt_setup:                      ; @hidma_mgmt_setup
	.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	x19, x0
	ldr	w0, [x0]
	bl	_is_power_of_2
	ldr	w8, [x19]
	cbz	w0, LBB0_6
; %bb.1:
	sub	w9, w8, #1025
	cmn	w9, #898
	b.ls	LBB0_6
; %bb.2:
	ldr	w0, [x19, #4]
	bl	_is_power_of_2
	ldr	w8, [x19, #4]
	cbz	w0, LBB0_7
; %bb.3:
	sub	w9, w8, #1025
	cmn	w9, #898
	b.ls	LBB0_7
; %bb.4:
	ldr	w9, [x19, #8]
Lloh0:
	adrp	x21, _HIDMA_MAX_WR_XACTIONS_MASK@GOTPAGE
Lloh1:
	ldr	x21, [x21, _HIDMA_MAX_WR_XACTIONS_MASK@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w9, w8
	b.le	LBB0_8
; %bb.5:
	ldr	x0, [x19, #56]
	str	x8, [sp]
Lloh2:
	adrp	x1, l_.str.2@PAGE
Lloh3:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_10
LBB0_6:
	ldr	x0, [x19, #56]
	str	x8, [sp]
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_10
LBB0_7:
	ldr	x0, [x19, #56]
	str	x8, [sp]
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_10
LBB0_8:
	ldr	w9, [x19, #12]
Lloh8:
	adrp	x20, _HIDMA_MAX_RD_XACTIONS_MASK@GOTPAGE
Lloh9:
	ldr	x20, [x20, _HIDMA_MAX_RD_XACTIONS_MASK@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w9, w8
	b.le	LBB0_12
; %bb.9:
	ldr	x0, [x19, #56]
	str	x8, [sp]
Lloh10:
	adrp	x1, l_.str.3@PAGE
Lloh11:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_10:
	bl	_dev_err
Lloh12:
	adrp	x8, _EINVAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_11:
	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
LBB0_12:
	ldr	w8, [x19, #16]
	cbz	w8, LBB0_19
; %bb.13:
	mov	x9, #0
	ldr	x10, [x19, #24]
Lloh15:
	adrp	x11, _HIDMA_MAX_CHANNEL_WEIGHT@GOTPAGE
Lloh16:
	ldr	x11, [x11, _HIDMA_MAX_CHANNEL_WEIGHT@GOTPAGEOFF]
	mov	w12, #1
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	add	x9, x9, #1
	cmp	x9, w8, uxtw
	b.hs	LBB0_19
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	w13, [x10, x9, lsl #2]
	cmp	w13, #2
	b.ge	LBB0_23
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	x13, [x19, #32]
	ldr	w15, [x13, x9, lsl #2]
	ldr	w14, [x11]
	cmp	w15, w14
	b.gt	LBB0_24
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=1
	cbnz	w15, LBB0_14
; %bb.18:                               ;   in Loop: Header=BB0_15 Depth=1
	str	w12, [x13, x9, lsl #2]
	ldr	w8, [x19, #16]
	b	LBB0_14
LBB0_19:
	ldr	x0, [x19, #56]
	bl	_pm_runtime_get_sync
	ldr	x8, [x19, #64]
Lloh17:
	adrp	x22, _HIDMA_MAX_BUS_REQ_LEN_OFFSET@GOTPAGE
Lloh18:
	ldr	x22, [x22, _HIDMA_MAX_BUS_REQ_LEN_OFFSET@GOTPAGEOFF]
	ldr	x9, [x22]
	add	x0, x9, x8
	bl	_readl
Lloh19:
	adrp	x8, _HIDMA_MAX_BUS_REQ_LEN_MASK@GOTPAGE
Lloh20:
	ldr	x8, [x8, _HIDMA_MAX_BUS_REQ_LEN_MASK@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
Lloh22:
	adrp	x9, _HIDMA_MAX_BUS_WR_REQ_BIT_POS@GOTPAGE
Lloh23:
	ldr	x9, [x9, _HIDMA_MAX_BUS_WR_REQ_BIT_POS@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	lsl	w10, w8, w9
	bic	w10, w0, w10
	ldp	w11, w12, [x19]
	lsl	w9, w11, w9
	orr	w9, w10, w9
	bic	w8, w9, w8
	orr	w0, w8, w12
	ldr	x8, [x19, #64]
	ldr	x9, [x22]
	add	x1, x9, x8
	bl	_writel
	ldr	x8, [x19, #64]
Lloh25:
	adrp	x22, _HIDMA_MAX_XACTIONS_OFFSET@GOTPAGE
Lloh26:
	ldr	x22, [x22, _HIDMA_MAX_XACTIONS_OFFSET@GOTPAGEOFF]
	ldr	x9, [x22]
	add	x0, x9, x8
	bl	_readl
	ldr	w8, [x21]
Lloh27:
	adrp	x9, _HIDMA_MAX_WR_XACTIONS_BIT_POS@GOTPAGE
Lloh28:
	ldr	x9, [x9, _HIDMA_MAX_WR_XACTIONS_BIT_POS@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	lsl	w8, w8, w9
	bic	w8, w0, w8
	ldp	w10, w11, [x19, #8]
	lsl	w9, w10, w9
	orr	w8, w8, w9
	ldr	w9, [x20]
	bic	w8, w8, w9
	orr	w0, w8, w11
	ldr	x8, [x19, #64]
	ldr	x9, [x22]
	add	x1, x9, x8
	bl	_writel
	ldr	x8, [x19, #64]
Lloh30:
	adrp	x9, _HIDMA_HW_VERSION_OFFSET@GOTPAGE
Lloh31:
	ldr	x9, [x9, _HIDMA_HW_VERSION_OFFSET@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
	ubfx	x8, x0, #28, #4
	stp	w0, w8, [x19, #40]
	ubfx	w8, w0, #16, #4
	str	w8, [x19, #48]
	ldr	w8, [x19, #16]
	cbz	w8, LBB0_22
; %bb.20:
	mov	x20, #0
	mov	x21, #0
Lloh33:
	adrp	x22, _HIDMA_QOS_N_OFFSET@GOTPAGE
Lloh34:
	ldr	x22, [x22, _HIDMA_QOS_N_OFFSET@GOTPAGEOFF]
	mov	w24, #1
Lloh35:
	adrp	x25, _HIDMA_WEIGHT_MASK@GOTPAGE
Lloh36:
	ldr	x25, [x25, _HIDMA_WEIGHT_MASK@GOTPAGEOFF]
Lloh37:
	adrp	x26, _HIDMA_WRR_BIT_POS@GOTPAGE
Lloh38:
	ldr	x26, [x26, _HIDMA_WRR_BIT_POS@GOTPAGEOFF]
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	ldp	x9, x8, [x19, #24]
	ldr	w27, [x8, x20]
	ldr	w28, [x9, x20]
	ldr	x8, [x19, #64]
	ldr	x9, [x22]
	and	x23, x20, #0xfffffffc
	add	x8, x8, x23
	add	x0, x8, x9
	bl	_readl
Lloh39:
	adrp	x8, _HIDMA_PRIORITY_BIT_POS@GOTPAGE
Lloh40:
	ldr	x8, [x8, _HIDMA_PRIORITY_BIT_POS@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
	lsl	w9, w24, w8
	bic	w9, w0, w9
	and	w10, w28, #0x1
	lsl	w8, w10, w8
	orr	w8, w9, w8
	ldr	w9, [x25]
	ldr	w10, [x26]
	lsl	w11, w9, w10
	bic	w8, w8, w11
	and	w9, w9, w27
	lsl	w9, w9, w10
	orr	w0, w8, w9
	ldr	x8, [x19, #64]
	ldr	x9, [x22]
	add	x8, x8, x23
	add	x1, x8, x9
	bl	_writel
	add	x21, x21, #1
	ldr	w8, [x19, #16]
	add	x20, x20, #4
	cmp	x21, x8
	b.lo	LBB0_21
LBB0_22:
	ldr	x8, [x19, #64]
Lloh42:
	adrp	x20, _HIDMA_CHRESET_TIMEOUT_OFFSET@GOTPAGE
Lloh43:
	ldr	x20, [x20, _HIDMA_CHRESET_TIMEOUT_OFFSET@GOTPAGEOFF]
	ldr	x9, [x20]
	add	x0, x9, x8
	bl	_readl
Lloh44:
	adrp	x8, _HIDMA_CHRESET_TIMEOUT_MASK@GOTPAGE
Lloh45:
	ldr	x8, [x8, _HIDMA_CHRESET_TIMEOUT_MASK@GOTPAGEOFF]
Lloh46:
	ldr	w8, [x8]
	bic	w9, w0, w8
	ldr	w10, [x19, #52]
	and	w8, w10, w8
	orr	w0, w9, w8
	ldr	x8, [x19, #64]
	ldr	x9, [x20]
	add	x1, x9, x8
	bl	_writel
	ldr	x0, [x19, #56]
	bl	_pm_runtime_mark_last_busy
	ldr	x0, [x19, #56]
	bl	_pm_runtime_put_autosuspend
	mov	w0, #0
	b	LBB0_11
LBB0_23:
	ldr	x0, [x19, #56]
Lloh47:
	adrp	x1, l_.str.4@PAGE
Lloh48:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_10
LBB0_24:
	ldr	x0, [x19, #56]
	str	x14, [sp]
Lloh49:
	adrp	x1, l_.str.5@PAGE
Lloh50:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_10
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpAdd	Lloh49, Lloh50
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid write request %d\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"invalid read request %d\n"

	.comm	_HIDMA_MAX_WR_XACTIONS_MASK,4,2 ; @HIDMA_MAX_WR_XACTIONS_MASK
l_.str.2:                               ; @.str.2
	.asciz	"max_wr_xactions cannot be bigger than %ld\n"

	.comm	_HIDMA_MAX_RD_XACTIONS_MASK,4,2 ; @HIDMA_MAX_RD_XACTIONS_MASK
l_.str.3:                               ; @.str.3
	.asciz	"max_rd_xactions cannot be bigger than %ld\n"

l_.str.4:                               ; @.str.4
	.asciz	"priority can be 0 or 1\n"

	.comm	_HIDMA_MAX_CHANNEL_WEIGHT,4,2   ; @HIDMA_MAX_CHANNEL_WEIGHT
l_.str.5:                               ; @.str.5
	.asciz	"max value of weight can be %d.\n"

	.comm	_HIDMA_MAX_BUS_REQ_LEN_OFFSET,8,3 ; @HIDMA_MAX_BUS_REQ_LEN_OFFSET
	.comm	_HIDMA_MAX_BUS_REQ_LEN_MASK,4,2 ; @HIDMA_MAX_BUS_REQ_LEN_MASK
	.comm	_HIDMA_MAX_BUS_WR_REQ_BIT_POS,4,2 ; @HIDMA_MAX_BUS_WR_REQ_BIT_POS
	.comm	_HIDMA_MAX_XACTIONS_OFFSET,8,3  ; @HIDMA_MAX_XACTIONS_OFFSET
	.comm	_HIDMA_MAX_WR_XACTIONS_BIT_POS,4,2 ; @HIDMA_MAX_WR_XACTIONS_BIT_POS
	.comm	_HIDMA_HW_VERSION_OFFSET,8,3    ; @HIDMA_HW_VERSION_OFFSET
	.comm	_HIDMA_QOS_N_OFFSET,8,3         ; @HIDMA_QOS_N_OFFSET
	.comm	_HIDMA_PRIORITY_BIT_POS,4,2     ; @HIDMA_PRIORITY_BIT_POS
	.comm	_HIDMA_WEIGHT_MASK,4,2          ; @HIDMA_WEIGHT_MASK
	.comm	_HIDMA_WRR_BIT_POS,4,2          ; @HIDMA_WRR_BIT_POS
	.comm	_HIDMA_CHRESET_TIMEOUT_OFFSET,8,3 ; @HIDMA_CHRESET_TIMEOUT_OFFSET
	.comm	_HIDMA_CHRESET_TIMEOUT_MASK,4,2 ; @HIDMA_CHRESET_TIMEOUT_MASK
.subsections_via_symbols
