	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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	_AV_HWDEVICE_TYPE_NONE@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	callq	_av_hwdevice_iterate_types
	xorl	%r15d, %r15d
	movl	$0, %r14d
	movl	$0, %r12d
	cmpl	(%r13), %eax
	jne	LBB0_1
LBB0_8:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leal	(%r14,%r15), %edx
	addl	%r12d, %edx
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %ecx
	movl	%r14d, %r8d
	movl	%r12d, %r9d
	callq	_fprintf
	xorl	%eax, %eax
	testl	%r14d, %r14d
	setg	%al
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	%eax, %ebx
	xorl	%r12d, %r12d
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	%r15d
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %edi
	callq	_av_hwdevice_iterate_types
	movl	%eax, %ebx
	cmpl	(%r13), %eax
	je	LBB0_8
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_test_device_type
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	js	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	incl	%r12d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	%r14d
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_HWDEVICE_TYPE_NONE,4,2      ## @AV_HWDEVICE_TYPE_NONE
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Attempted to test %d device types: %d passed, %d failed, %d skipped.\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.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
Lloh0:
	adrp	x23, _AV_HWDEVICE_TYPE_NONE@GOTPAGE
Lloh1:
	ldr	x23, [x23, _AV_HWDEVICE_TYPE_NONE@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_av_hwdevice_iterate_types
	ldr	w8, [x23]
	cmp	w0, w8
	b.ne	LBB0_2
; %bb.1:
	mov	w21, #0
	mov	w19, #0
	mov	w20, #0
	b	LBB0_4
LBB0_2:
	mov	x22, x0
	mov	w20, #0
	mov	w19, #0
	mov	w21, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_test_device_type
	tst	w0, #0x80000000
	cinc	w8, w19, ne
	cinc	w9, w20, eq
	cmp	w0, #0
	csel	w19, w8, w19, ne
	cinc	w21, w21, eq
	csel	w20, w9, w20, ne
	mov	x0, x22
	bl	_av_hwdevice_iterate_types
	mov	x22, x0
	ldr	w8, [x23]
	cmp	w0, w8
	b.ne	LBB0_3
LBB0_4:
Lloh2:
	adrp	x8, _stderr@GOTPAGE
Lloh3:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	add	w8, w19, w21
	add	w2, w8, w20
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x3, x21
	mov	x4, x19
	mov	x5, x20
	bl	_fprintf
	cmp	w19, #0
	cset	w0, gt
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_HWDEVICE_TYPE_NONE,4,2      ; @AV_HWDEVICE_TYPE_NONE
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Attempted to test %d device types: %d passed, %d failed, %d skipped.\n"

.subsections_via_symbols
