	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_hwdevice_get_hwframe_constraints ## -- Begin function av_hwdevice_get_hwframe_constraints
	.p2align	4, 0x90
_av_hwdevice_get_hwframe_constraints:   ## @av_hwdevice_get_hwframe_constraints
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %r15
	movq	(%r15), %rax
	movq	(%rax), %r12
	cmpq	$0, (%r12)
	je	LBB0_4
## %bb.1:
	movq	%rsi, %r14
	movl	$24, %edi
	callq	_av_mallocz
	movq	%rax, -40(%rbp)
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	%rax, %rbx
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rax)
	movq	_INT_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movl	%eax, 4(%rbx)
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	*(%r12)
	testq	%rax, %rax
	jns	LBB0_5
## %bb.3:
	leaq	-40(%rbp), %rdi
	callq	_av_hwframe_constraints_free
LBB0_4:
	xorl	%ebx, %ebx
LBB0_5:
	movq	%rbx, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INT_MAX,4,2                    ## @INT_MAX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_hwdevice_get_hwframe_constraints ; -- Begin function av_hwdevice_get_hwframe_constraints
	.p2align	2
_av_hwdevice_get_hwframe_constraints:   ; @av_hwdevice_get_hwframe_constraints
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	x21, [x0]
	ldr	x8, [x21]
	ldr	x22, [x8]
	ldr	x8, [x22]
	cbz	x8, LBB0_4
; %bb.1:
	mov	x20, x1
	mov	w0, #24
	bl	_av_mallocz
	mov	x19, x0
	str	x0, [sp, #8]
	cbz	x0, LBB0_5
; %bb.2:
	stp	xzr, xzr, [x19, #8]
Lloh0:
	adrp	x8, _INT_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INT_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	stp	w8, w8, [x19]
	ldr	x8, [x22]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	blr	x8
	tbz	x0, #63, LBB0_5
; %bb.3:
	add	x0, sp, #8
	bl	_av_hwframe_constraints_free
LBB0_4:
	mov	x19, #0
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_INT_MAX,4,2                    ; @INT_MAX
.subsections_via_symbols
