	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_drm_helper_mode_fill_fb_struct ## -- Begin function drm_helper_mode_fill_fb_struct
	.p2align	4, 0x90
_drm_helper_mode_fill_fb_struct:        ## @drm_helper_mode_fill_fb_struct
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	28(%rsi), %eax
	movl	%eax, 36(%rdi)
	movl	24(%rsi), %eax
	movl	%eax, 32(%rdi)
	movq	8(%rsi), %rax
	movq	16(%rsi), %rcx
	movq	16(%rdi), %rdx
	movq	24(%rdi), %rsi
	movl	(%rcx), %edi
	movl	%edi, (%rsi)
	movl	(%rax), %edi
	movl	%edi, (%rdx)
	movl	4(%rcx), %edi
	movl	%edi, 4(%rsi)
	movl	4(%rax), %edi
	movl	%edi, 4(%rdx)
	movl	8(%rcx), %edi
	movl	%edi, 8(%rsi)
	movl	8(%rax), %edi
	movl	%edi, 8(%rdx)
	movl	12(%rcx), %ecx
	movl	%ecx, 12(%rsi)
	movl	12(%rax), %eax
	movl	%eax, 12(%rdx)
	movl	(%r14), %edi
	leaq	8(%rbx), %rsi
	leaq	4(%rbx), %rdx
	callq	_drm_fb_get_bpp_depth
	movl	(%r14), %eax
	movl	%eax, (%rbx)
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_drm_helper_mode_fill_fb_struct ; -- Begin function drm_helper_mode_fill_fb_struct
	.p2align	2
_drm_helper_mode_fill_fb_struct:        ; @drm_helper_mode_fill_fb_struct
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	ldr	d0, [x1, #24]
	str	d0, [x0, #32]
	ldp	x9, x8, [x1, #8]
	ldp	x11, x10, [x0, #16]
	ldr	w12, [x8]
	str	w12, [x10]
	ldr	w12, [x9]
	str	w12, [x11]
	ldr	w12, [x8, #4]
	str	w12, [x10, #4]
	ldr	w12, [x9, #4]
	str	w12, [x11, #4]
	ldr	w12, [x8, #8]
	str	w12, [x10, #8]
	ldr	w12, [x9, #8]
	str	w12, [x11, #8]
	ldr	w8, [x8, #12]
	str	w8, [x10, #12]
	ldr	w8, [x9, #12]
	str	w8, [x11, #12]
	ldr	w0, [x1]
	add	x1, x20, #8
	add	x2, x20, #4
	bl	_drm_fb_get_bpp_depth
	ldr	w8, [x19]
	str	w8, [x20]
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
