	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_drm_mode_set_name              ## -- Begin function drm_mode_set_name
	.p2align	4, 0x90
_drm_mode_set_name:                     ## @drm_mode_set_name
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_DRM_MODE_FLAG_INTERLACE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%rdi), %eax
	movl	12(%rdi), %eax
	movq	_DRM_DISPLAY_MODE_LEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	4(%rdi), %ecx
	movl	8(%rdi), %r8d
	leaq	L_.str.2(%rip), %rdx
	leaq	L_.str.1(%rip), %r9
	cmoveq	%rdx, %r9
	leaq	L_.str(%rip), %rdx
	movl	%eax, %edi
	popq	%rbp
	jmp	_snprintf                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DRM_MODE_FLAG_INTERLACE,4,2    ## @DRM_MODE_FLAG_INTERLACE
	.comm	_DRM_DISPLAY_MODE_LEN,4,2       ## @DRM_DISPLAY_MODE_LEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%dx%d%s"

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

L_.str.2:                               ## @.str.2
	.space	1

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_drm_mode_set_name              ; -- Begin function drm_mode_set_name
	.p2align	2
_drm_mode_set_name:                     ; @drm_mode_set_name
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _DRM_MODE_FLAG_INTERLACE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DRM_MODE_FLAG_INTERLACE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
Lloh3:
	adrp	x8, _DRM_DISPLAY_MODE_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DRM_DISPLAY_MODE_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldp	w10, w3, [x0]
	ldp	w4, w8, [x0, #8]
Lloh6:
	adrp	x11, l_.str.1@PAGE
Lloh7:
	add	x11, x11, l_.str.1@PAGEOFF
Lloh8:
	adrp	x12, l_.str.2@PAGE
Lloh9:
	add	x12, x12, l_.str.2@PAGEOFF
	tst	w9, w10
	csel	x5, x12, x11, eq
Lloh10:
	adrp	x2, l_.str@PAGE
Lloh11:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x8
	b	_snprintf
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DRM_MODE_FLAG_INTERLACE,4,2    ; @DRM_MODE_FLAG_INTERLACE
	.comm	_DRM_DISPLAY_MODE_LEN,4,2       ; @DRM_DISPLAY_MODE_LEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%dx%d%s"

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

l_.str.2:                               ; @.str.2
	.space	1

.subsections_via_symbols
