	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zr36050_set_dri
_zr36050_set_dri:                       ## @zr36050_set_dri
	.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	%rdi, %rbx
	movl	4(%rdi), %edx
	leaq	L_.str(%rip), %rsi
	movl	$3, %edi
	callq	_dprintk
	movl	$67165695, -14(%rbp)            ## imm = 0x400DDFF
	movzwl	(%rbx), %eax
	rolw	$8, %ax
	movw	%ax, -10(%rbp)
	movq	_ZR050_DRI_IDX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-14(%rbp), %rcx
	movq	%rbx, %rdi
	movl	$6, %edx
	callq	_zr36050_pushit
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: write DRI\n"

	.comm	_ZR050_DRI_IDX,4,2              ## @ZR050_DRI_IDX
	.no_dead_strip	_zr36050_set_dri
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zr36050_set_dri
_zr36050_set_dri:                       ; @zr36050_set_dri
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	ldr	w2, [x0, #4]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #3
	bl	_dprintk
	mov	w8, #56831
	movk	w8, #1024, lsl #16
	stur	w8, [sp, #10]
	ldrh	w8, [x19]
	rev	w8, w8
	lsr	w8, w8, #16
	strh	w8, [sp, #14]
Lloh2:
	adrp	x8, _ZR050_DRI_IDX@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ZR050_DRI_IDX@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	add	x3, sp, #10
	mov	x0, x19
	mov	w2, #6
	bl	_zr36050_pushit
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: write DRI\n"

	.comm	_ZR050_DRI_IDX,4,2              ; @ZR050_DRI_IDX
	.no_dead_strip	_zr36050_set_dri
.subsections_via_symbols
