	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function func_eval_expr_int_format
_func_eval_expr_int_format:             ## @func_eval_expr_int_format
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r13
	movl	%ecx, %r12d
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %rax
	movl	$0, -84(%rbp)
	movups	l___const.func_eval_expr_int_format.fmt_str+14(%rip), %xmm0
	movups	%xmm0, -66(%rbp)
	movaps	l___const.func_eval_expr_int_format.fmt_str(%rip), %xmm0
	movaps	%xmm0, -80(%rbp)
	movq	(%r8), %rsi
	movq	_var_names@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	4(%rax), %ecx
	movq	_fun2_names@GOTPCREL(%rip), %rdi
	movl	(%rdi), %r10d
	movq	_fun2@GOTPCREL(%rip), %rdi
	movl	(%rdi), %ebx
	subq	$8, %rsp
	leaq	-96(%rbp), %rdi
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	%r15
	pushq	$0
	pushq	%rax
	pushq	%rbx
	pushq	%r10
	callq	_av_expr_parse_and_eval
	addq	$48, %rsp
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	8(%r13), %rax
	movsbl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_strchr
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	cmpl	$3, %r12d
	jne	LBB0_8
## %bb.5:
	movq	16(%r13), %rdi
	leaq	L_.str.3(%rip), %rsi
	leaq	-84(%rbp), %rdx
	callq	_sscanf
	cmpl	$1, %eax
	jne	LBB0_6
LBB0_8:
	movq	_FE_ALL_EXCEPT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_feclearexcept
	cvttsd2si	-96(%rbp), %ebx
	movq	_FE_INVALID@GOTPCREL(%rip), %rax
	movq	_FE_OVERFLOW@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	movq	_FE_UNDERFLOW@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	callq	_fetestexcept
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	L_.str.5(%rip), %rdx
	movq	%r15, %rdi
	movl	%eax, %ecx
	movl	%ebx, %r8d
	xorl	%eax, %eax
	callq	_av_log
	jmp	LBB0_7
LBB0_1:
	movl	%eax, %ebx
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%r13), %rcx
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_av_log
	jmp	LBB0_13
LBB0_3:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	8(%r13), %rax
	movsbl	(%rax), %ecx
	leaq	L_.str.2(%rip), %rdx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_av_log
	jmp	LBB0_7
LBB0_10:
	cmpl	$3, %r12d
	jne	LBB0_12
## %bb.11:
	movsbl	-84(%rbp), %ecx
	leaq	L_.str.6(%rip), %rdx
	leaq	-80(%rbp), %rdi
	movl	$30, %esi
	callq	_av_strlcatf
LBB0_12:
	movq	8(%r13), %rax
	movsbl	(%rax), %ecx
	leaq	L_.str.7(%rip), %rdx
	leaq	-80(%rbp), %r12
	movq	%r12, %rdi
	movl	$30, %esi
	callq	_av_strlcatf
	movq	_AV_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movsd	-96(%rbp), %xmm0                ## xmm0 = mem[0],zero
	movq	(%r13), %rcx
	leaq	L_.str.8(%rip), %rdx
	movq	%r15, %rdi
	movq	%r12, %r8
	movb	$1, %al
	callq	_av_log
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	%ebx, %edx
	callq	_av_bprintf
	xorl	%ebx, %ebx
	jmp	LBB0_13
LBB0_6:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	16(%r13), %rcx
	leaq	L_.str.4(%rip), %rdx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_av_log
LBB0_7:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
	movl	%eax, %ebx
LBB0_13:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_15
## %bb.14:
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @__const.func_eval_expr_int_format.fmt_str
l___const.func_eval_expr_int_format.fmt_str:
	.asciz	"%\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"

	.comm	_var_names,4,2                  ## @var_names
	.comm	_fun2_names,4,2                 ## @fun2_names
	.comm	_fun2,4,2                       ## @fun2
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Expression '%s' for the expr text expansion function is not valid\n"

L_.str.1:                               ## @.str.1
	.asciz	"xXdu"

L_.str.2:                               ## @.str.2
	.asciz	"Invalid format '%c' specified, allowed values: 'x', 'X', 'd', 'u'\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.3:                               ## @.str.3
	.asciz	"%u"

L_.str.4:                               ## @.str.4
	.asciz	"expr_int_format(): Invalid number of positions to print: '%s'\n"

	.comm	_FE_ALL_EXCEPT,4,2              ## @FE_ALL_EXCEPT
	.comm	_FE_INVALID,4,2                 ## @FE_INVALID
	.comm	_FE_OVERFLOW,4,2                ## @FE_OVERFLOW
	.comm	_FE_UNDERFLOW,4,2               ## @FE_UNDERFLOW
L_.str.5:                               ## @.str.5
	.asciz	"Conversion of floating-point result to int failed. Control register: 0x%08x. Conversion result: %d\n"

L_.str.6:                               ## @.str.6
	.asciz	"0%u"

L_.str.7:                               ## @.str.7
	.asciz	"%c"

	.comm	_AV_LOG_DEBUG,4,2               ## @AV_LOG_DEBUG
L_.str.8:                               ## @.str.8
	.asciz	"Formatting value %f (expr '%s') with spec '%s'\n"

	.no_dead_strip	_func_eval_expr_int_format
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function func_eval_expr_int_format
_func_eval_expr_int_format:             ; @func_eval_expr_int_format
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	mov	x21, x4
	mov	x22, x3
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	ldr	x8, [x0]
	str	wzr, [sp, #36]
Lloh3:
	adrp	x9, l___const.func_eval_expr_int_format.fmt_str@PAGE
Lloh4:
	add	x9, x9, l___const.func_eval_expr_int_format.fmt_str@PAGEOFF
	ldr	q0, [x9]
	str	q0, [sp, #48]
	ldur	q0, [x9, #14]
	stur	q0, [sp, #62]
	ldr	x1, [x4]
Lloh5:
	adrp	x9, _var_names@GOTPAGE
Lloh6:
	ldr	x9, [x9, _var_names@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x9]
	ldr	w3, [x8, #4]
Lloh8:
	adrp	x9, _fun2_names@GOTPAGE
Lloh9:
	ldr	x9, [x9, _fun2_names@GOTPAGEOFF]
Lloh10:
	ldr	w6, [x9]
Lloh11:
	adrp	x9, _fun2@GOTPAGE
Lloh12:
	ldr	x9, [x9, _fun2@GOTPAGEOFF]
Lloh13:
	ldr	w7, [x9]
	str	x0, [sp, #16]
	str	wzr, [sp, #8]
	add	x0, sp, #40
	str	x8, [sp]
	mov	x4, #0
	mov	x5, #0
	bl	_av_expr_parse_and_eval
	tbnz	w0, #31, LBB0_6
; %bb.1:
	ldr	x8, [x21, #8]
	ldrsb	w1, [x8]
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_strchr
	cbz	w0, LBB0_7
; %bb.2:
	cmp	w22, #3
	b.ne	LBB0_4
; %bb.3:
	ldr	x0, [x21, #16]
Lloh16:
	adrp	x1, l_.str.3@PAGE
Lloh17:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x2, sp, #36
	bl	_sscanf
	cmp	w0, #1
	b.ne	LBB0_11
LBB0_4:
Lloh18:
	adrp	x8, _FE_ALL_EXCEPT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _FE_ALL_EXCEPT@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	bl	_feclearexcept
	ldr	d0, [sp, #40]
	fcvtzs	w23, d0
Lloh21:
	adrp	x8, _FE_INVALID@GOTPAGE
Lloh22:
	ldr	x8, [x8, _FE_INVALID@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
Lloh24:
	adrp	x9, _FE_OVERFLOW@GOTPAGE
Lloh25:
	ldr	x9, [x9, _FE_OVERFLOW@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh27:
	adrp	x9, _FE_UNDERFLOW@GOTPAGE
Lloh28:
	ldr	x9, [x9, _FE_UNDERFLOW@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	orr	w0, w8, w9
	bl	_fetestexcept
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	w0, LBB0_8
; %bb.5:
Lloh30:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh31:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	stp	x0, x23, [sp]
Lloh33:
	adrp	x2, l_.str.5@PAGE
Lloh34:
	add	x2, x2, l_.str.5@PAGEOFF
	b	LBB0_12
LBB0_6:
	mov	x23, x0
Lloh35:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh36:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
	ldr	x8, [x21]
	str	x8, [sp]
Lloh38:
	adrp	x2, l_.str@PAGE
Lloh39:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_av_log
	b	LBB0_13
LBB0_7:
Lloh40:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh41:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh42:
	ldr	w1, [x8]
	ldr	x8, [x21, #8]
	ldrsb	x8, [x8]
	str	x8, [sp]
Lloh43:
	adrp	x2, l_.str.2@PAGE
Lloh44:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_12
LBB0_8:
	cmp	w22, #3
	b.ne	LBB0_10
; %bb.9:
	ldrsb	w3, [sp, #36]
Lloh45:
	adrp	x2, l_.str.6@PAGE
Lloh46:
	add	x2, x2, l_.str.6@PAGEOFF
	add	x0, sp, #48
	mov	w1, #30
	bl	_av_strlcatf
LBB0_10:
	ldr	x8, [x21, #8]
	ldrsb	w3, [x8]
Lloh47:
	adrp	x2, l_.str.7@PAGE
Lloh48:
	add	x2, x2, l_.str.7@PAGEOFF
	add	x22, sp, #48
	add	x0, sp, #48
	mov	w1, #30
	bl	_av_strlcatf
Lloh49:
	adrp	x8, _AV_LOG_DEBUG@GOTPAGE
Lloh50:
	ldr	x8, [x8, _AV_LOG_DEBUG@GOTPAGEOFF]
Lloh51:
	ldr	w1, [x8]
	ldr	d0, [sp, #40]
	ldr	x8, [x21]
	stp	x8, x22, [sp, #8]
	str	d0, [sp]
Lloh52:
	adrp	x2, l_.str.8@PAGE
Lloh53:
	add	x2, x2, l_.str.8@PAGEOFF
	mov	x0, x19
	bl	_av_log
	add	x1, sp, #48
	mov	x0, x20
	mov	x2, x23
	bl	_av_bprintf
	mov	w23, #0
	b	LBB0_13
LBB0_11:
Lloh54:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh55:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh56:
	ldr	w1, [x8]
	ldr	x8, [x21, #16]
	str	x8, [sp]
Lloh57:
	adrp	x2, l_.str.4@PAGE
Lloh58:
	add	x2, x2, l_.str.4@PAGEOFF
LBB0_12:
	mov	x0, x19
	bl	_av_log
Lloh59:
	adrp	x8, _EINVAL@GOTPAGE
Lloh60:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh61:
	ldr	w0, [x8]
	bl	_AVERROR
	mov	x23, x0
LBB0_13:
	ldur	x8, [x29, #-56]
Lloh62:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh63:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh64:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.14:
	mov	x0, x23
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_15:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
l___const.func_eval_expr_int_format.fmt_str: ; @__const.func_eval_expr_int_format.fmt_str
	.asciz	"%\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"

	.comm	_var_names,4,2                  ; @var_names
	.comm	_fun2_names,4,2                 ; @fun2_names
	.comm	_fun2,4,2                       ; @fun2
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Expression '%s' for the expr text expansion function is not valid\n"

l_.str.1:                               ; @.str.1
	.asciz	"xXdu"

l_.str.2:                               ; @.str.2
	.asciz	"Invalid format '%c' specified, allowed values: 'x', 'X', 'd', 'u'\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.3:                               ; @.str.3
	.asciz	"%u"

l_.str.4:                               ; @.str.4
	.asciz	"expr_int_format(): Invalid number of positions to print: '%s'\n"

	.comm	_FE_ALL_EXCEPT,4,2              ; @FE_ALL_EXCEPT
	.comm	_FE_INVALID,4,2                 ; @FE_INVALID
	.comm	_FE_OVERFLOW,4,2                ; @FE_OVERFLOW
	.comm	_FE_UNDERFLOW,4,2               ; @FE_UNDERFLOW
l_.str.5:                               ; @.str.5
	.asciz	"Conversion of floating-point result to int failed. Control register: 0x%08x. Conversion result: %d\n"

l_.str.6:                               ; @.str.6
	.asciz	"0%u"

l_.str.7:                               ; @.str.7
	.asciz	"%c"

	.comm	_AV_LOG_DEBUG,4,2               ; @AV_LOG_DEBUG
l_.str.8:                               ; @.str.8
	.asciz	"Formatting value %f (expr '%s') with spec '%s'\n"

	.no_dead_strip	_func_eval_expr_int_format
.subsections_via_symbols
