	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GetPinIdFromFilter             ## -- Begin function GetPinIdFromFilter
	.p2align	4, 0x90
_GetPinIdFromFilter:                    ## @GetPinIdFromFilter
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	.cfi_offset %rbx, -24
	movq	(%rdi), %r9
	cmpq	%rdx, %r9
	jbe	LBB0_5
## %bb.1:
	movq	%rdx, %rax
	movq	8(%rdi), %r8
	movq	_PIN_TYPE_PLAYBACK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r10
	movq	_PIN_TYPE_RECORDING@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rbx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rsi, %rsi
	setne	%cl
	movq	(%r8,%rax,8), %rdi
	cmpq	%r10, %rdi
	setne	%dl
	orb	%cl, %dl
	cmpq	%rbx, %rdi
	sete	%r11b
	cmpb	$1, %dl
	jne	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	andb	%r11b, %cl
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rax
	cmpq	%rax, %r9
	jne	LBB0_2
LBB0_5:
	movq	_ULONG_MAX@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_6:
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PIN_TYPE_PLAYBACK,8,3          ## @PIN_TYPE_PLAYBACK
	.comm	_PIN_TYPE_RECORDING,8,3         ## @PIN_TYPE_RECORDING
	.comm	_ULONG_MAX,8,3                  ## @ULONG_MAX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GetPinIdFromFilter             ; -- Begin function GetPinIdFromFilter
	.p2align	2
_GetPinIdFromFilter:                    ; @GetPinIdFromFilter
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	cmp	x8, x2
	b.ls	LBB0_5
; %bb.1:
	ldr	x9, [x0, #8]
Lloh0:
	adrp	x10, _PIN_TYPE_PLAYBACK@GOTPAGE
Lloh1:
	ldr	x10, [x10, _PIN_TYPE_PLAYBACK@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
Lloh3:
	adrp	x11, _PIN_TYPE_RECORDING@GOTPAGE
Lloh4:
	ldr	x11, [x11, _PIN_TYPE_RECORDING@GOTPAGEOFF]
Lloh5:
	ldr	x11, [x11]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x1, #0
	cset	w12, ne
	ldr	x13, [x9, x2, lsl #3]
	cmp	x13, x10
	cset	w14, ne
	orr	w14, w12, w14
	cmp	x13, x11
	cset	w13, eq
	cmp	w14, #1
	b.ne	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	and	w12, w12, w13
	tbnz	w12, #0, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x2, x2, #1
	cmp	x8, x2
	b.ne	LBB0_2
LBB0_5:
Lloh6:
	adrp	x8, _ULONG_MAX@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ULONG_MAX@GOTPAGEOFF]
Lloh8:
	ldr	x2, [x8]
LBB0_6:
	mov	x0, x2
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_PIN_TYPE_PLAYBACK,8,3          ; @PIN_TYPE_PLAYBACK
	.comm	_PIN_TYPE_RECORDING,8,3         ; @PIN_TYPE_RECORDING
	.comm	_ULONG_MAX,8,3                  ; @ULONG_MAX
.subsections_via_symbols
