	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function print_audio_bytes
_print_audio_bytes:                     ## @print_audio_bytes
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movl	4(%rdi), %edi
	callq	_av_get_bytes_per_sample
	movl	%eax, %r13d
	movl	4(%r12), %edi
	callq	_av_sample_fmt_is_planar
	movl	(%r12), %ecx
	imull	%r13d, %r14d
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	cmpl	$1, %ecx
	jg	LBB0_4
## %bb.2:
	jne	LBB0_14
LBB0_3:
	imull	%ecx, %r14d
	movl	$1, %ecx
LBB0_4:
	movslq	%r13d, %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movslq	%r14d, %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	%ecx, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leal	-1(%r13), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	xorl	%r15d, %r15d
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	$10, %edi
	callq	_putchar
	incq	%r15
	cmpq	-56(%rbp), %r15                 ## 8-byte Folded Reload
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	je	LBB0_14
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
                                        ##       Child Loop BB0_9 Depth 3
	testl	%r14d, %r14d
	jle	LBB0_13
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	xorl	%r14d, %r14d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=2
	movl	$32, %edi
	callq	_putchar
	addq	-72(%rbp), %r14                 ## 8-byte Folded Reload
	cmpq	-64(%rbp), %r14                 ## 8-byte Folded Reload
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	jge	LBB0_13
LBB0_7:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_9 Depth 3
	testl	%r13d, %r13d
	jle	LBB0_12
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=2
	xorl	%r13d, %r13d
	movl	-48(%rbp), %r12d                ## 4-byte Reload
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=3
	leaq	(,%r14,4), %rcx
	addq	(%rbx,%r15,8), %rcx
	cltq
	movl	(%rcx,%rax,4), %esi
	leaq	L_.str(%rip), %rdi
	callq	_printf
	incl	%r13d
	addl	$-1, %r12d
	jae	LBB0_12
LBB0_9:                                 ##   Parent Loop BB0_5 Depth=1
                                        ##     Parent Loop BB0_7 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	_HAVE_BIGENDIAN@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	movl	%r12d, %eax
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=3
	movl	%r13d, %eax
	jmp	LBB0_11
LBB0_14:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HAVE_BIGENDIAN,4,2             ## @HAVE_BIGENDIAN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%02x"

	.no_dead_strip	_print_audio_bytes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function print_audio_bytes
_print_audio_bytes:                     ; @print_audio_bytes
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x21, x2
	mov	x19, x1
	mov	x22, x0
	ldr	w0, [x0, #4]
	bl	_av_get_bytes_per_sample
	mov	x20, x0
	ldr	w0, [x22, #4]
	bl	_av_sample_fmt_is_planar
	ldr	w8, [x22]
	cbz	x0, LBB0_4
; %bb.1:
	mul	w9, w20, w21
	cmp	w8, #1
	b.gt	LBB0_5
; %bb.2:
	cmp	w8, #1
	b.ne	LBB0_13
; %bb.3:
	mul	w9, w9, w8
	b	LBB0_5
LBB0_4:
	mul	w9, w20, w21
	mul	w9, w9, w8
	mov	w8, #1
LBB0_5:
	mov	x22, #0
	sxtw	x23, w20
	sxtw	x24, w9
	sub	w9, w20, #1
	str	w9, [sp, #12]                   ; 4-byte Folded Spill
Lloh0:
	adrp	x26, _HAVE_BIGENDIAN@GOTPAGE
Lloh1:
	ldr	x26, [x26, _HAVE_BIGENDIAN@GOTPAGEOFF]
	mov	w8, w8
	str	x8, [sp]                        ; 8-byte Folded Spill
Lloh2:
	adrp	x21, l_.str@PAGE
Lloh3:
	add	x21, x21, l_.str@PAGEOFF
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	w0, #10
	bl	_putchar
	add	x22, x22, #1
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	cmp	x22, x8
	b.eq	LBB0_13
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
                                        ;       Child Loop BB0_12 Depth 3
	cmp	w24, #1
	b.lt	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x28, #0
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=2
	mov	w0, #32
	bl	_putchar
	add	x28, x28, x23
	cmp	x28, x24
	b.ge	LBB0_6
LBB0_10:                                ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_12 Depth 3
	cmp	w20, #1
	b.lt	LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=2
	mov	w27, #0
	ldr	w25, [sp, #12]                  ; 4-byte Folded Reload
LBB0_12:                                ;   Parent Loop BB0_7 Depth=1
                                        ;     Parent Loop BB0_10 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	w8, [x26]
	cmp	w8, #0
	csel	w8, w25, w27, eq
	ldr	x9, [x19, x22, lsl #3]
	add	x9, x9, x28, lsl #2
	ldr	w1, [x9, w8, sxtw #2]
	mov	x0, x21
	bl	_printf
	add	w27, w27, #1
	sub	w25, w25, #1
	cmn	w25, #1
	b.ne	LBB0_12
	b	LBB0_9
LBB0_13:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_HAVE_BIGENDIAN,4,2             ; @HAVE_BIGENDIAN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%02x"

	.no_dead_strip	_print_audio_bytes
.subsections_via_symbols
