	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function d71_change_opmode
_d71_change_opmode:                     ## @d71_change_opmode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rbx
	movl	%esi, %edi
	callq	_to_d71_opmode
	movl	%eax, %r14d
	movl	(%rbx), %edi
	movq	_BLK_CONTROL@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movl	$7, %edx
	movl	%eax, %ecx
	callq	_malidp_write32_mask
	movl	(%rbx), %edi
	movl	(%r15), %esi
	callq	_malidp_read32
	andl	$7, %eax
	xorl	%edi, %edi
	cmpl	%r14d, %eax
	sete	%dil
	movl	$100, %esi
	movl	$1000, %edx                     ## imm = 0x3E8
	movl	$10000, %ecx                    ## imm = 0x2710
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dp_wait_cond                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BLK_CONTROL,4,2                ## @BLK_CONTROL
	.no_dead_strip	_d71_change_opmode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function d71_change_opmode
_d71_change_opmode:                     ; @d71_change_opmode
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [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 w21, -40
	.cfi_offset w22, -48
	ldr	x20, [x0]
	mov	x0, x1
	bl	_to_d71_opmode
	mov	x19, x0
	ldr	w0, [x20]
Lloh0:
	adrp	x21, _BLK_CONTROL@GOTPAGE
Lloh1:
	ldr	x21, [x21, _BLK_CONTROL@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	w2, #7
	mov	x3, x19
	bl	_malidp_write32_mask
	ldr	w0, [x20]
	ldr	w1, [x21]
	bl	_malidp_read32
	and	w8, w0, #0x7
	cmp	w8, w19
	cset	w0, eq
	mov	w1, #100
	mov	w2, #1000
	mov	w3, #10000
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_dp_wait_cond
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_BLK_CONTROL,4,2                ; @BLK_CONTROL
	.no_dead_strip	_d71_change_opmode
.subsections_via_symbols
