	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_ahb_release_reset
_ath10k_ahb_release_reset:              ## @ath10k_ahb_release_reset
	.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	%rdi, %r14
	callq	_ath10k_ahb_priv
	movq	%rax, %r15
	movl	12(%rax), %edi
	callq	_IS_ERR_OR_NULL
	testq	%rax, %rax
	jne	LBB0_4
## %bb.1:
	movl	8(%r15), %edi
	callq	_IS_ERR_OR_NULL
	testq	%rax, %rax
	jne	LBB0_4
## %bb.2:
	movl	4(%r15), %edi
	callq	_IS_ERR_OR_NULL
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movl	(%r15), %edi
	callq	_IS_ERR_OR_NULL
	testq	%rax, %rax
	je	LBB0_5
LBB0_4:
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_ath10k_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
LBB0_15:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	12(%r15), %edi
	callq	_reset_control_deassert
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_14
LBB0_7:
	movl	8(%r15), %edi
	callq	_reset_control_deassert
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:
	movl	%eax, %ebx
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_14
LBB0_9:
	movl	4(%r15), %edi
	callq	_reset_control_deassert
	testl	%eax, %eax
	je	LBB0_11
## %bb.10:
	movl	%eax, %ebx
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_14
LBB0_11:
	movl	(%r15), %edi
	callq	_reset_control_deassert
	testl	%eax, %eax
	je	LBB0_12
## %bb.13:
	movl	%eax, %ebx
	leaq	L_.str.4(%rip), %rsi
LBB0_14:
	movq	%r14, %rdi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_ath10k_err
	jmp	LBB0_15
LBB0_12:
	xorl	%ebx, %ebx
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rst ctrl(s) is/are not initialized\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"failed to deassert radio cold rst: %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"failed to deassert radio warm rst: %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"failed to deassert radio srif rst: %d\n"

L_.str.4:                               ## @.str.4
	.asciz	"failed to deassert cpu init rst: %d\n"

	.no_dead_strip	_ath10k_ahb_release_reset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath10k_ahb_release_reset
_ath10k_ahb_release_reset:              ; @ath10k_ahb_release_reset
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	bl	_ath10k_ahb_priv
	mov	x20, x0
	ldr	w0, [x0, #12]
	bl	_IS_ERR_OR_NULL
	cbnz	x0, LBB0_4
; %bb.1:
	ldr	w0, [x20, #8]
	bl	_IS_ERR_OR_NULL
	cbnz	x0, LBB0_4
; %bb.2:
	ldr	w0, [x20, #4]
	bl	_IS_ERR_OR_NULL
	cbnz	x0, LBB0_4
; %bb.3:
	ldr	w0, [x20]
	bl	_IS_ERR_OR_NULL
	cbz	x0, LBB0_6
LBB0_4:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_ath10k_err
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_5:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_6:
	ldr	w0, [x20, #12]
	bl	_reset_control_deassert
	cbz	w0, LBB0_8
; %bb.7:
	mov	x21, x0
	str	x21, [sp]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_ath10k_err
	b	LBB0_5
LBB0_8:
	ldr	w0, [x20, #8]
	bl	_reset_control_deassert
	cbz	w0, LBB0_10
; %bb.9:
	mov	x21, x0
	str	x21, [sp]
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_14
LBB0_10:
	ldr	w0, [x20, #4]
	bl	_reset_control_deassert
	cbz	w0, LBB0_12
; %bb.11:
	mov	x21, x0
	str	x21, [sp]
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_14
LBB0_12:
	ldr	w0, [x20]
	bl	_reset_control_deassert
	mov	x21, x0
	cbz	w0, LBB0_5
; %bb.13:
	str	x21, [sp]
Lloh11:
	adrp	x1, l_.str.4@PAGE
Lloh12:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_14:
	mov	x0, x19
	bl	_ath10k_err
                                        ; kill: def $w21 killed $w21 killed $x21 def $x21
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rst ctrl(s) is/are not initialized\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"failed to deassert radio cold rst: %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"failed to deassert radio warm rst: %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"failed to deassert radio srif rst: %d\n"

l_.str.4:                               ; @.str.4
	.asciz	"failed to deassert cpu init rst: %d\n"

	.no_dead_strip	_ath10k_ahb_release_reset
.subsections_via_symbols
