	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function av_bmg_get
LCPI0_0:
	.quad	0x4000000000000000              ## double 2
	.quad	0x4000000000000000              ## double 2
LCPI0_1:
	.quad	0xbff0000000000000              ## double -1
	.quad	0xbff0000000000000              ## double -1
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
LCPI0_2:
	.quad	0x3ff0000000000000              ## double 1
LCPI0_3:
	.quad	0xc000000000000000              ## double -2
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_av_bmg_get
	.p2align	4, 0x90
_av_bmg_get:                            ## @av_bmg_get
	.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	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_UINT_MAX@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movsd	(%r15), %xmm0                   ## xmm0 = mem[0],zero
	movaps	%xmm0, -48(%rbp)                ## 16-byte Spill
	movq	%rbx, %rdi
	callq	_av_lfg_get
	movaps	%xmm0, -64(%rbp)                ## 16-byte Spill
	movapd	-48(%rbp), %xmm1                ## 16-byte Reload
	movhpd	(%r15), %xmm1                   ## xmm1 = xmm1[0],mem[0]
	movapd	LCPI0_0(%rip), %xmm0            ## xmm0 = [2.0E+0,2.0E+0]
	divpd	%xmm1, %xmm0
	movapd	%xmm0, -48(%rbp)                ## 16-byte Spill
	movq	%rbx, %rdi
	callq	_av_lfg_get
	movapd	-64(%rbp), %xmm1                ## 16-byte Reload
	unpcklpd	%xmm0, %xmm1                    ## xmm1 = xmm1[0],xmm0[0]
	mulpd	-48(%rbp), %xmm1                ## 16-byte Folded Reload
	addpd	LCPI0_1(%rip), %xmm1
	movapd	%xmm1, %xmm0
	mulpd	%xmm1, %xmm0
	unpckhpd	%xmm0, %xmm0                    ## xmm0 = xmm0[1,1]
	movapd	%xmm1, -64(%rbp)                ## 16-byte Spill
	mulsd	%xmm1, %xmm1
	addsd	%xmm0, %xmm1
	ucomisd	LCPI0_2(%rip), %xmm1
	jae	LBB0_1
## %bb.2:
	movapd	%xmm1, %xmm0
	movapd	%xmm1, -48(%rbp)                ## 16-byte Spill
	callq	_log
	mulsd	LCPI0_3(%rip), %xmm0
	divsd	-48(%rbp), %xmm0                ## 16-byte Folded Reload
	sqrtsd	%xmm0, %xmm0
	movddup	%xmm0, %xmm0                    ## xmm0 = xmm0[0,0]
	movapd	-64(%rbp), %xmm1                ## 16-byte Reload
	mulpd	%xmm0, %xmm1
	movupd	%xmm1, (%r14)
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UINT_MAX,8,3                   ## @UINT_MAX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_bmg_get                     ; -- Begin function av_bmg_get
	.p2align	2
_av_bmg_get:                            ; @av_bmg_get
	.cfi_startproc
; %bb.0:
	stp	d13, d12, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	d11, d10, [sp, #16]             ; 16-byte Folded Spill
	stp	d9, d8, [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 b8, -56
	.cfi_offset b9, -64
	.cfi_offset b10, -72
	.cfi_offset b11, -80
	.cfi_offset b12, -88
	.cfi_offset b13, -96
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x21, _UINT_MAX@GOTPAGE
Lloh1:
	ldr	x21, [x21, _UINT_MAX@GOTPAGEOFF]
	fmov	d9, #2.00000000
	fmov	d11, #-1.00000000
	fmov	d12, #1.00000000
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	d0, [x21]
	fdiv	d8, d9, d0
	mov	x0, x20
	bl	_av_lfg_get
	fmadd	d10, d8, d0, d11
	ldr	d0, [x21]
	fdiv	d8, d9, d0
	mov	x0, x20
	bl	_av_lfg_get
	fmadd	d13, d8, d0, d11
	fmul	d0, d13, d13
	fmadd	d8, d10, d10, d0
	fcmp	d8, d12
	b.ge	LBB0_1
; %bb.2:
	fmov	d0, d8
	bl	_log
	fmov	d1, #-2.00000000
	fmul	d0, d0, d1
	fdiv	d0, d0, d8
	fsqrt	d0, d0
	fmul	d1, d10, d0
	fmul	d0, d13, d0
	stp	d1, d0, [x19]
	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	d9, d8, [sp, #32]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #16]             ; 16-byte Folded Reload
	ldp	d13, d12, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_UINT_MAX,8,3                   ; @UINT_MAX
.subsections_via_symbols
