	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dvb_dmxdev_release             ## -- Begin function dvb_dmxdev_release
	.p2align	4, 0x90
_dvb_dmxdev_release:                    ## @dvb_dmxdev_release
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	$1, (%rdi)
	movq	32(%rdi), %rax
	cmpl	$2, (%rax)
	jl	LBB0_2
## %bb.1:
	movl	4(%rax), %edi
	xorl	%esi, %esi
	callq	_wait_event
LBB0_2:
	movq	24(%rbx), %rax
	cmpl	$2, (%rax)
	jl	LBB0_4
## %bb.3:
	movl	4(%rax), %edi
	xorl	%esi, %esi
	callq	_wait_event
LBB0_4:
	movq	32(%rbx), %rdi
	callq	_dvb_unregister_device
	movq	24(%rbx), %rdi
	callq	_dvb_unregister_device
	movq	16(%rbx), %rdi
	callq	_vfree
	movq	$0, 16(%rbx)
	movq	8(%rbx), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmpq	*(%rdi)                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dvb_dmxdev_release             ; -- Begin function dvb_dmxdev_release
	.p2align	2
_dvb_dmxdev_release:                    ; @dvb_dmxdev_release
	.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
	mov	w8, #1
	str	w8, [x0]
	ldr	x8, [x0, #32]
	ldr	w9, [x8]
	cmp	w9, #2
	b.lt	LBB0_2
; %bb.1:
	ldr	w0, [x8, #4]
	mov	w1, #0
	bl	_wait_event
LBB0_2:
	ldr	x8, [x19, #24]
	ldr	w9, [x8]
	cmp	w9, #2
	b.lt	LBB0_4
; %bb.3:
	ldr	w0, [x8, #4]
	mov	w1, #0
	bl	_wait_event
LBB0_4:
	ldr	x0, [x19, #32]
	bl	_dvb_unregister_device
	ldr	x0, [x19, #24]
	bl	_dvb_unregister_device
	ldr	x0, [x19, #16]
	bl	_vfree
	str	xzr, [x19, #16]
	ldr	x0, [x19, #8]
	ldr	x1, [x0]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	br	x1
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
