	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hb_autopassthru_get_encoder    ## -- Begin function hb_autopassthru_get_encoder
	.p2align	4, 0x90
_hb_autopassthru_get_encoder:           ## @hb_autopassthru_get_encoder
	.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
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movl	%edx, %r15d
	movl	%edi, %ebx
	movq	_HB_ACODEC_INVALID@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	andl	%esi, %ebx
	movq	_HB_ACODEC_PASS_FLAG@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	xorl	%r13d, %r13d
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	xorl	%eax, %eax
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rdi
	callq	_hb_audio_encoder_get_next
	testq	%rax, %rax
	je	LBB0_11
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	testl	%r14d, %r14d
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	%ebx, (%rax)
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, 4(%rax)
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	cmovnel	%ebx, %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	$1, %r14d
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	testl	%r13d, %r13d
	jne	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%r13d, %r13d
	cmpl	%r15d, (%rax)
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_HB_ACODEC_NONE@GOTPCREL(%rip), %rcx
	cmpl	%r15d, (%rcx)
	cmovel	%r15d, %r12d
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, 4(%rax)
	cmovnel	%r15d, %r12d
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	$1, %r13d
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	testl	%r14d, %r14d
	je	LBB0_1
## %bb.10:                              ##   in Loop: Header=BB0_1 Depth=1
	testl	%r13d, %r13d
	je	LBB0_1
LBB0_11:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movq	_HB_ACODEC_INVALID@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	cmovnel	%eax, %r12d
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HB_ACODEC_INVALID,4,2          ## @HB_ACODEC_INVALID
	.comm	_HB_ACODEC_PASS_FLAG,4,2        ## @HB_ACODEC_PASS_FLAG
	.comm	_HB_ACODEC_NONE,4,2             ## @HB_ACODEC_NONE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hb_autopassthru_get_encoder    ; -- Begin function hb_autopassthru_get_encoder
	.p2align	2
_hb_autopassthru_get_encoder:           ; @hb_autopassthru_get_encoder
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x3
	mov	x20, x2
	mov	x8, x0
	mov	w27, #0
	mov	x0, #0
	mov	w23, #0
Lloh0:
	adrp	x22, _HB_ACODEC_INVALID@GOTPAGE
Lloh1:
	ldr	x22, [x22, _HB_ACODEC_INVALID@GOTPAGEOFF]
	ldr	w21, [x22]
Lloh2:
	adrp	x9, _HB_ACODEC_PASS_FLAG@GOTPAGE
Lloh3:
	ldr	x9, [x9, _HB_ACODEC_PASS_FLAG@GOTPAGEOFF]
	and	w8, w1, w8
Lloh4:
	ldr	w9, [x9]
	orr	w25, w9, w8
Lloh5:
	adrp	x26, _HB_ACODEC_NONE@GOTPAGE
Lloh6:
	ldr	x26, [x26, _HB_ACODEC_NONE@GOTPAGEOFF]
	mov	x24, x21
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	bl	_hb_audio_encoder_get_next
	cbz	x0, LBB0_11
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	cbnz	w23, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x0]
	cmp	w8, w25
	b.ne	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x0, #4]
	tst	w8, w19
	csel	w21, w21, w25, eq
	mov	w23, #1
	cbnz	w23, LBB0_9
	b	LBB0_1
LBB0_5:                                 ;   in Loop: Header=BB0_1 Depth=1
	cbnz	w27, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x0]
	cmp	w8, w20
	b.ne	LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x0, #4]
	and	w8, w8, w19
	ldr	w9, [x26]
	cmp	w9, w20
	ccmp	w8, #0, #0, ne
	csel	w24, w20, w24, ne
LBB0_8:                                 ;   in Loop: Header=BB0_1 Depth=1
	mov	w27, #1
	cbz	w23, LBB0_1
LBB0_9:                                 ;   in Loop: Header=BB0_1 Depth=1
	cbz	w27, LBB0_1
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	w27, #0
	cbnz	w23, LBB0_9
	b	LBB0_1
LBB0_11:
	ldr	w8, [x22]
	cmp	w21, w8
	csel	w0, w24, w21, eq
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_HB_ACODEC_INVALID,4,2          ; @HB_ACODEC_INVALID
	.comm	_HB_ACODEC_PASS_FLAG,4,2        ; @HB_ACODEC_PASS_FLAG
	.comm	_HB_ACODEC_NONE,4,2             ; @HB_ACODEC_NONE
.subsections_via_symbols
