	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_drm_order                      ## -- Begin function drm_order
	.p2align	4, 0x90
_drm_order:                             ## @drm_order
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	cmpq	$2, %rdi
	jb	LBB0_3
## %bb.1:
	xorl	%eax, %eax
	movq	%rdi, %rcx
	movq	%rdi, %rdx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	shrq	%rdx
	incl	%eax
	cmpq	$3, %rcx
	movq	%rdx, %rcx
	ja	LBB0_2
LBB0_3:
	leaq	-1(%rdi), %rcx
	andq	%rdi, %rcx
	cmpq	$1, %rcx
	sbbl	$-1, %eax
	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_order                      ; -- Begin function drm_order
	.p2align	2
_drm_order:                             ; @drm_order
	.cfi_startproc
; %bb.0:
	cmp	x0, #2
	b.hs	LBB0_2
; %bb.1:
	mov	w8, #0
	b	LBB0_4
LBB0_2:
	mov	w8, #0
	mov	x9, x0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	lsr	x10, x9, #1
	add	w8, w8, #1
	cmp	x9, #3
	mov	x9, x10
	b.hi	LBB0_3
LBB0_4:
	sub	x9, x0, #1
	tst	x0, x9
	cinc	w0, w8, ne
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
