	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function findmedia
_findmedia:                             ## @findmedia
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_IFM_AUTO@GOTPCREL(%rip), %rax
	testl	%esi, %esi
	jle	LBB0_5
## %bb.1:
	movl	%esi, %ecx
	addq	$8, %rdi
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rdx, -8(%rdi)
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	$16, %rdi
	decq	%rcx
	jne	LBB0_2
	jmp	LBB0_5
LBB0_3:
	movq	%rdi, %rax
LBB0_5:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IFM_AUTO,4,2                   ## @IFM_AUTO
	.no_dead_strip	_findmedia
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function findmedia
_findmedia:                             ; @findmedia
	.cfi_startproc
; %bb.0:
	cmp	w1, #1
	b.lt	LBB0_6
; %bb.1:
	mov	w9, w1
	add	x8, x0, #8
Lloh0:
	adrp	x10, _IFM_AUTO@GOTPAGE
Lloh1:
	ldr	x10, [x10, _IFM_AUTO@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x11, [x8, #-8]
	cmp	x11, x2
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x8, x8, #16
	subs	x9, x9, #1
	b.ne	LBB0_2
; %bb.4:
	mov	x8, x10
LBB0_5:
	ldr	w0, [x8]
	ret
LBB0_6:
Lloh2:
	adrp	x8, _IFM_AUTO@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IFM_AUTO@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_IFM_AUTO,4,2                   ; @IFM_AUTO
	.no_dead_strip	_findmedia
.subsections_via_symbols
