	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function drm_set_aspect_ratio
_drm_set_aspect_ratio:                  ## @drm_set_aspect_ratio
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_aspectratio_lut@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%esi, %ecx
	movss	(%rax,%rcx,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movss	(%rdi), %xmm1                   ## xmm1 = mem[0],zero,zero,zero
	ucomiss	%xmm0, %xmm1
	jne	LBB0_1
	jnp	LBB0_2
LBB0_1:
	movq	%rdi, %rbx
	movss	%xmm0, (%rdi)
	movl	16(%rdi), %edi
	movss	%xmm0, -12(%rbp)                ## 4-byte Spill
	callq	_drm_surface_set_aspect
	movss	-12(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	cmpq	$0, 8(%rbx)
	je	LBB0_2
## %bb.3:
	movl	4(%rbx), %edi
	callq	_drm_surface_set_aspect
	movl	4(%rbx), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_drm_plane_setup                ## TAILCALL
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_aspectratio_lut,8,3            ## @aspectratio_lut
	.no_dead_strip	_drm_set_aspect_ratio
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function drm_set_aspect_ratio
_drm_set_aspect_ratio:                  ; @drm_set_aspect_ratio
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-48]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset b8, -40
	.cfi_offset b9, -48
Lloh0:
	adrp	x8, _aspectratio_lut@GOTPAGE
Lloh1:
	ldr	x8, [x8, _aspectratio_lut@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	s8, [x8, w1, uxtw #2]
	ldr	s0, [x0]
	fcmp	s0, s8
	b.eq	LBB0_3
; %bb.1:
	mov	x19, x0
	str	s8, [x0]
	ldr	w0, [x0, #16]
	fmov	s0, s8
	bl	_drm_surface_set_aspect
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	w0, [x19, #4]
	fmov	s0, s8
	bl	_drm_surface_set_aspect
	ldr	w0, [x19, #4]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #48               ; 16-byte Folded Reload
	b	_drm_plane_setup
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #48               ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_aspectratio_lut,8,3            ; @aspectratio_lut
	.no_dead_strip	_drm_set_aspect_ratio
.subsections_via_symbols
