	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_backend_ctx_devices_destroy    ## -- Begin function backend_ctx_devices_destroy
	.p2align	4, 0x90
_backend_ctx_devices_destroy:           ## @backend_ctx_devices_destroy
	.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), %r15
	cmpl	$0, (%r15)
	je	LBB0_11
## %bb.1:
	cmpq	$0, 8(%r15)
	je	LBB0_4
## %bb.2:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	112(%r15), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_hcfree
	movq	104(%r15), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_hcfree
	movq	96(%r15), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_hcfree
	movq	88(%r15), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_hcfree
	incq	%rbx
	cmpq	8(%r15), %rbx
	jb	LBB0_3
LBB0_4:
	leaq	16(%r15), %r14
	cmpl	$0, 16(%r15)
	jle	LBB0_10
## %bb.5:
	movl	$24, %ebx
	xorl	%r12d, %r12d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	incq	%r12
	movslq	(%r14), %rax
	addq	$28, %rbx
	cmpq	%rax, %r12
	jge	LBB0_10
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	80(%r15), %r13
	cmpl	$1, -24(%r13,%rbx)
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	(%r13,%rbx), %edi
	callq	_hcfree
	cmpl	$1, -20(%r13,%rbx)
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	-4(%r13,%rbx), %edi
	callq	_hcfree
	movl	-8(%r13,%rbx), %edi
	callq	_hcfree
	movl	-12(%r13,%rbx), %edi
	callq	_hcfree
	movl	-16(%r13,%rbx), %edi
	callq	_hcfree
	jmp	LBB0_9
LBB0_10:
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r14)
	movl	$0, 16(%r14)
	movups	%xmm0, 56(%r15)
	movups	%xmm0, 40(%r15)
	movq	$0, 72(%r15)
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	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	_backend_ctx_devices_destroy    ; -- Begin function backend_ctx_devices_destroy
	.p2align	2
_backend_ctx_devices_destroy:           ; @backend_ctx_devices_destroy
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	ldr	x19, [x0]
	ldr	w8, [x19]
	cbz	w8, LBB0_11
; %bb.1:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_4
; %bb.2:
	mov	x20, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #112]
	lsl	x21, x20, #2
	ldr	w0, [x8, x21]
	bl	_hcfree
	ldr	x8, [x19, #104]
	ldr	w0, [x8, x21]
	bl	_hcfree
	ldr	x8, [x19, #96]
	ldr	w0, [x8, x21]
	bl	_hcfree
	ldr	x8, [x19, #88]
	ldr	w0, [x8, x21]
	bl	_hcfree
	add	x20, x20, #1
	ldr	x8, [x19, #8]
	cmp	x20, x8
	b.lo	LBB0_3
LBB0_4:
	mov	x20, x19
	ldr	w8, [x20, #16]!
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.5:
	mov	x21, #0
	mov	x22, #0
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x20]
	add	x21, x21, #28
	cmp	x22, x8
	b.ge	LBB0_10
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #80]
	ldr	w9, [x8, x21]
	cmp	w9, #1
	b.eq	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x23, x8, x21
	ldr	w0, [x23, #24]
	bl	_hcfree
	ldr	w8, [x23, #4]
	cmp	w8, #1
	b.ne	LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x23, #20]
	bl	_hcfree
	ldr	w0, [x23, #16]
	bl	_hcfree
	ldr	w0, [x23, #12]
	bl	_hcfree
	ldr	w0, [x23, #8]
	bl	_hcfree
	b	LBB0_6
LBB0_10:
	stp	xzr, xzr, [x20]
	str	wzr, [x20, #16]
	movi.2d	v0, #0000000000000000
	stur	q0, [x19, #40]
	stur	q0, [x19, #56]
	str	xzr, [x19, #72]
LBB0_11:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
