	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_octeon_setup_response_list     ## -- Begin function octeon_setup_response_list
	.p2align	4, 0x90
_octeon_setup_response_list:            ## @octeon_setup_response_list
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_MAX_RESPONSE_LISTS@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_3
## %bb.1:
	movl	$8, %ebx
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	48(%r15), %rdi
	addq	%rbx, %rdi
	callq	_INIT_LIST_HEAD
	movq	48(%r15), %rax
	leaq	(%rax,%rbx), %rdi
	addq	$-4, %rdi
	callq	_spin_lock_init
	movq	48(%r15), %rax
	leaq	(%rax,%rbx), %rdi
	addq	$-8, %rdi
	xorl	%esi, %esi
	callq	_atomic_set
	incq	%r12
	movslq	(%r14), %rax
	addq	$12, %rbx
	cmpq	%rax, %r12
	jl	LBB0_2
LBB0_3:
	leaq	40(%r15), %rdi
	callq	_spin_lock_init
	movq	_WQ_MEM_RECLAIM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	xorl	%r14d, %r14d
	xorl	%edx, %edx
	callq	_alloc_workqueue
	movl	%eax, 24(%r15)
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	leaq	16(%r15), %rdi
	movq	_oct_poll_req_completion@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_DELAYED_WORK
	movq	%r15, 8(%r15)
	movq	_OCT_DRV_ONLINE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	jmp	LBB0_6
LBB0_4:
	movq	32(%r15), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_dev_err
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_6:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_RESPONSE_LISTS,4,2         ## @MAX_RESPONSE_LISTS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dma-comp"

	.comm	_WQ_MEM_RECLAIM,4,2             ## @WQ_MEM_RECLAIM
L_.str.1:                               ## @.str.1
	.asciz	"failed to create wq thread\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_oct_poll_req_completion,4,2    ## @oct_poll_req_completion
	.comm	_OCT_DRV_ONLINE,4,2             ## @OCT_DRV_ONLINE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_octeon_setup_response_list     ; -- Begin function octeon_setup_response_list
	.p2align	2
_octeon_setup_response_list:            ; @octeon_setup_response_list
	.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	x19, x0
Lloh0:
	adrp	x20, _MAX_RESPONSE_LISTS@GOTPAGE
Lloh1:
	ldr	x20, [x20, _MAX_RESPONSE_LISTS@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x21, #0
	mov	w22, #8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #48]
	add	x0, x8, x22
	bl	_INIT_LIST_HEAD
	ldr	x8, [x19, #48]
	add	x8, x8, x22
	sub	x0, x8, #4
	bl	_spin_lock_init
	ldr	x8, [x19, #48]
	add	x8, x8, x22
	sub	x0, x8, #8
	mov	w1, #0
	bl	_atomic_set
	add	x21, x21, #1
	ldrsw	x8, [x20]
	add	x22, x22, #12
	cmp	x21, x8
	b.lt	LBB0_2
LBB0_3:
	add	x0, x19, #40
	bl	_spin_lock_init
Lloh2:
	adrp	x8, _WQ_MEM_RECLAIM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _WQ_MEM_RECLAIM@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	mov	w2, #0
	bl	_alloc_workqueue
	str	w0, [x19, #24]
	cbz	w0, LBB0_5
; %bb.4:
	add	x0, x19, #16
Lloh7:
	adrp	x8, _oct_poll_req_completion@GOTPAGE
Lloh8:
	ldr	x8, [x8, _oct_poll_req_completion@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	bl	_INIT_DELAYED_WORK
	mov	w0, #0
	str	x19, [x19, #8]
Lloh10:
	adrp	x8, _OCT_DRV_ONLINE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _OCT_DRV_ONLINE@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	str	w8, [x19]
	b	LBB0_6
LBB0_5:
	ldr	x0, [x19, #32]
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_err
Lloh15:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_RESPONSE_LISTS,4,2         ; @MAX_RESPONSE_LISTS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dma-comp"

	.comm	_WQ_MEM_RECLAIM,4,2             ; @WQ_MEM_RECLAIM
l_.str.1:                               ; @.str.1
	.asciz	"failed to create wq thread\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_oct_poll_req_completion,4,2    ; @oct_poll_req_completion
	.comm	_OCT_DRV_ONLINE,4,2             ; @OCT_DRV_ONLINE
.subsections_via_symbols
