	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function opt_init_hw_device
_opt_init_hw_device:                    ## @opt_init_hw_device
	.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	%rdx, %rbx
	leaq	L_.str(%rip), %rsi
	movq	%rdx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_1
## %bb.5:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_hw_device_init_from_string     ## TAILCALL
LBB0_1:
	movq	_AV_HWDEVICE_TYPE_NONE@GOTPCREL(%rip), %r14
	movl	(%r14), %ebx
	leaq	L_str(%rip), %rdi
	callq	_puts
	movl	%ebx, %edi
	callq	_av_hwdevice_iterate_types
	cmpl	(%r14), %eax
	je	LBB0_4
## %bb.2:
	movl	%eax, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_av_hwdevice_get_type_name
	movq	%rax, %rdi
	callq	_puts
	movl	%ebx, %edi
	callq	_av_hwdevice_iterate_types
	movl	%eax, %ebx
	cmpl	(%r14), %eax
	jne	LBB0_3
LBB0_4:
	movl	$10, %edi
	callq	_putchar
	xorl	%edi, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_exit_program                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"list"

	.comm	_AV_HWDEVICE_TYPE_NONE,4,2      ## @AV_HWDEVICE_TYPE_NONE
L_str:                                  ## @str
	.asciz	"Supported hardware device types:"

	.no_dead_strip	_opt_init_hw_device
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function opt_init_hw_device
_opt_init_hw_device:                    ; @opt_init_hw_device
	.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, x2
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x2
	bl	_strcmp
	cbz	w0, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	x1, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_hw_device_init_from_string
LBB0_2:
Lloh2:
	adrp	x20, _AV_HWDEVICE_TYPE_NONE@GOTPAGE
Lloh3:
	ldr	x20, [x20, _AV_HWDEVICE_TYPE_NONE@GOTPAGEOFF]
	ldr	w19, [x20]
Lloh4:
	adrp	x0, l_str@PAGE
Lloh5:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	mov	x0, x19
	bl	_av_hwdevice_iterate_types
	ldr	w8, [x20]
	cmp	w0, w8
	b.eq	LBB0_5
; %bb.3:
	mov	x19, x0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_av_hwdevice_get_type_name
	bl	_puts
	mov	x0, x19
	bl	_av_hwdevice_iterate_types
	mov	x19, x0
	ldr	w8, [x20]
	cmp	w0, w8
	b.ne	LBB0_4
LBB0_5:
	mov	w0, #10
	bl	_putchar
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_exit_program
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"list"

	.comm	_AV_HWDEVICE_TYPE_NONE,4,2      ; @AV_HWDEVICE_TYPE_NONE
l_str:                                  ; @str
	.asciz	"Supported hardware device types:"

	.no_dead_strip	_opt_init_hw_device
.subsections_via_symbols
