	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ad714x_use_thr_int
_ad714x_use_thr_int:                    ## @ad714x_use_thr_int
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	leal	1(%r14), %ecx
	movl	$1, %eax
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	movl	$-1, %ebx
	movl	%esi, %ecx
	shll	%cl, %ebx
	movq	%rdi, %r12
	addl	%eax, %ebx
	movq	_STG_COM_INT_EN_REG@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	leaq	-42(%rbp), %r15
	movq	%r15, %rdx
	movl	$1, %ecx
	callq	*8(%rdi)
	movl	$-2, %eax
	movl	%r14d, %ecx
	roll	%cl, %eax
	andw	-42(%rbp), %ax
	movw	%ax, -42(%rbp)
	movl	(%r13), %esi
	movzwl	%ax, %edx
	movq	%r12, %rdi
	callq	*(%r12)
	movq	_STG_HIGH_INT_EN_REG@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%r12, %rdi
	movq	%r15, %rdx
	movl	$1, %ecx
	callq	*8(%r12)
	orw	-42(%rbp), %bx
	movw	%bx, -42(%rbp)
	movl	(%r14), %esi
	movzwl	%bx, %edx
	movq	%r12, %rdi
	callq	*(%r12)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STG_COM_INT_EN_REG,4,2         ## @STG_COM_INT_EN_REG
	.comm	_STG_HIGH_INT_EN_REG,4,2        ## @STG_HIGH_INT_EN_REG
	.no_dead_strip	_ad714x_use_thr_int
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ad714x_use_thr_int
_ad714x_use_thr_int:                    ; @ad714x_use_thr_int
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x2
	mov	x20, x0
	add	w8, w2, #1
	mov	w21, #1
	lsl	w8, w21, w8
	mov	w9, #-1
	lsl	w9, w9, w1
	add	w22, w8, w9
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x23, _STG_COM_INT_EN_REG@GOTPAGE
Lloh1:
	ldr	x23, [x23, _STG_COM_INT_EN_REG@GOTPAGEOFF]
	ldr	w1, [x23]
	add	x2, sp, #14
	mov	w3, #1
	blr	x8
	lsl	w8, w21, w19
	ldrh	w9, [sp, #14]
	bic	w8, w9, w8
	strh	w8, [sp, #14]
	ldr	x9, [x20]
	ldr	w1, [x23]
	and	w2, w8, #0xffff
	mov	x0, x20
	blr	x9
	ldr	x8, [x20, #8]
Lloh2:
	adrp	x19, _STG_HIGH_INT_EN_REG@GOTPAGE
Lloh3:
	ldr	x19, [x19, _STG_HIGH_INT_EN_REG@GOTPAGEOFF]
	ldr	w1, [x19]
	add	x2, sp, #14
	mov	x0, x20
	mov	w3, #1
	blr	x8
	ldrh	w8, [sp, #14]
	orr	w8, w8, w22
	strh	w8, [sp, #14]
	ldr	x9, [x20]
	ldr	w1, [x19]
	and	w2, w8, #0xffff
	mov	x0, x20
	blr	x9
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_STG_COM_INT_EN_REG,4,2         ; @STG_COM_INT_EN_REG
	.comm	_STG_HIGH_INT_EN_REG,4,2        ; @STG_HIGH_INT_EN_REG
	.no_dead_strip	_ad714x_use_thr_int
.subsections_via_symbols
