	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_genwqe_release_service_layer   ## -- Begin function genwqe_release_service_layer
	.p2align	4, 0x90
_genwqe_release_service_layer:          ## @genwqe_release_service_layer
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %r14
	callq	_ddcb_queue_initialized
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	(%r14), %edi
	movq	%rbx, %rsi
	callq	_free_irq
	movq	%rbx, %rdi
	callq	_genwqe_reset_interrupt_capability
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	callq	_kthread_stop
	movq	$0, 8(%rbx)
LBB0_4:
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	callq	_free_ddcb_queue
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_1:
	movl	$1, %eax
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_genwqe_release_service_layer   ; -- Begin function genwqe_release_service_layer
	.p2align	2
_genwqe_release_service_layer:          ; @genwqe_release_service_layer
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x20, [x0, #16]
	bl	_ddcb_queue_initialized
	cbz	w0, LBB0_4
; %bb.1:
	ldr	w0, [x20]
	mov	x1, x19
	bl	_free_irq
	mov	x0, x19
	bl	_genwqe_reset_interrupt_capability
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_3
; %bb.2:
	bl	_kthread_stop
	str	xzr, [x19, #8]
LBB0_3:
	mov	x0, x19
	mov	x1, x19
	bl	_free_ddcb_queue
	mov	w0, #0
	b	LBB0_5
LBB0_4:
	mov	w0, #1
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
