	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ddcm_trigger_mode
_ddcm_trigger_mode:                     ## @ddcm_trigger_mode
	.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
	movl	%esi, %r8d
	movq	%rdi, %rbx
	movq	_DDC_DDCMCTL1@GOTPCREL(%rip), %r14
	movq	(%r14), %rsi
	movq	_DDCM_SIF_MODE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_DDCM_SIF_MODE_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_sif_write_mask
	movq	(%r14), %rsi
	movq	_DDCM_TRI@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	%rbx, %rdi
	callq	_sif_set_bit
	movq	(%r14), %rdi
	addq	(%rbx), %rdi
	xorl	%edx, %edx
	cmpl	$0, (%r15)
	setne	%dl
	movl	$4, %ecx
	movl	$20000, %r8d                    ## imm = 0x4E20
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_readl_poll_timeout             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DDC_DDCMCTL1,8,3               ## @DDC_DDCMCTL1
	.comm	_DDCM_SIF_MODE_MASK,4,2         ## @DDCM_SIF_MODE_MASK
	.comm	_DDCM_SIF_MODE_OFFSET,4,2       ## @DDCM_SIF_MODE_OFFSET
	.comm	_DDCM_TRI,4,2                   ## @DDCM_TRI
	.no_dead_strip	_ddcm_trigger_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ddcm_trigger_mode
_ddcm_trigger_mode:                     ; @ddcm_trigger_mode
	.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
	mov	x4, x1
	mov	x19, x0
Lloh0:
	adrp	x20, _DDC_DDCMCTL1@GOTPAGE
Lloh1:
	ldr	x20, [x20, _DDC_DDCMCTL1@GOTPAGEOFF]
	ldr	x1, [x20]
Lloh2:
	adrp	x8, _DDCM_SIF_MODE_MASK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DDCM_SIF_MODE_MASK@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
Lloh5:
	adrp	x8, _DDCM_SIF_MODE_OFFSET@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DDCM_SIF_MODE_OFFSET@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
	bl	_sif_write_mask
	ldr	x1, [x20]
Lloh8:
	adrp	x21, _DDCM_TRI@GOTPAGE
Lloh9:
	ldr	x21, [x21, _DDCM_TRI@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_sif_set_bit
	ldr	x8, [x19]
	ldr	x9, [x20]
	add	x0, x9, x8
	ldr	w8, [x21]
	cmp	w8, #0
	cset	w2, ne
	mov	w3, #4
	mov	w4, #20000
	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	_readl_poll_timeout
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_DDC_DDCMCTL1,8,3               ; @DDC_DDCMCTL1
	.comm	_DDCM_SIF_MODE_MASK,4,2         ; @DDCM_SIF_MODE_MASK
	.comm	_DDCM_SIF_MODE_OFFSET,4,2       ; @DDCM_SIF_MODE_OFFSET
	.comm	_DDCM_TRI,4,2                   ; @DDCM_TRI
	.no_dead_strip	_ddcm_trigger_mode
.subsections_via_symbols
