	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_hwdevice_get_type_name      ## -- Begin function av_hwdevice_get_type_name
	.p2align	4, 0x90
_av_hwdevice_get_type_name:             ## @av_hwdevice_get_type_name
	.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	_AV_HWDEVICE_TYPE_NONE@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jae	LBB0_4
## %bb.1:
	movl	%edi, %ebx
	movq	_hw_type_names@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_FF_ARRAY_ELEMS
	cmpl	%ebx, %eax
	jbe	LBB0_4
## %bb.2:
	movq	(%r14), %rax
	movl	%ebx, %ecx
	movq	(%rax,%rcx,8), %rax
	jmp	LBB0_5
LBB0_4:
	xorl	%eax, %eax
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_HWDEVICE_TYPE_NONE,4,2      ## @AV_HWDEVICE_TYPE_NONE
	.comm	_hw_type_names,8,3              ## @hw_type_names
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_hwdevice_get_type_name      ; -- Begin function av_hwdevice_get_type_name
	.p2align	2
_av_hwdevice_get_type_name:             ; @av_hwdevice_get_type_name
	.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
Lloh0:
	adrp	x8, _AV_HWDEVICE_TYPE_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_HWDEVICE_TYPE_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w0
	b.hs	LBB0_3
; %bb.1:
	mov	x19, x0
Lloh3:
	adrp	x20, _hw_type_names@GOTPAGE
Lloh4:
	ldr	x20, [x20, _hw_type_names@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_FF_ARRAY_ELEMS
	cmp	w0, w19
	b.ls	LBB0_3
; %bb.2:
	ldr	x8, [x20]
	ldr	x0, [x8, w19, uxtw #3]
	b	LBB0_4
LBB0_3:
	mov	x0, #0
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_HWDEVICE_TYPE_NONE,4,2      ; @AV_HWDEVICE_TYPE_NONE
	.comm	_hw_type_names,8,3              ; @hw_type_names
.subsections_via_symbols
