	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ad5360_update_ctrl
_ad5360_update_ctrl:                    ## @ad5360_update_ctrl
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movl	%esi, %r15d
	movq	%rdi, %r14
	callq	_iio_priv
	movq	%rax, %r12
	movq	%r14, %rdi
	callq	_mutex_lock
	orl	(%r12), %r15d
	notl	%ebx
	andl	%r15d, %ebx
	movl	%ebx, (%r12)
	movq	_AD5360_CMD_SPECIAL_FUNCTION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_AD5360_REG_SF_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%ebx, %ecx
	xorl	%r8d, %r8d
	callq	_ad5360_write_unlocked
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_mutex_unlock
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AD5360_CMD_SPECIAL_FUNCTION,4,2 ## @AD5360_CMD_SPECIAL_FUNCTION
	.comm	_AD5360_REG_SF_CTRL,4,2         ## @AD5360_REG_SF_CTRL
	.no_dead_strip	_ad5360_update_ctrl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ad5360_update_ctrl
_ad5360_update_ctrl:                    ; @ad5360_update_ctrl
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
	bl	_iio_priv
	mov	x22, x0
	mov	x0, x21
	bl	_mutex_lock
	ldr	w8, [x22]
	orr	w8, w8, w20
	bic	w3, w8, w19
	str	w3, [x22]
Lloh0:
	adrp	x8, _AD5360_CMD_SPECIAL_FUNCTION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AD5360_CMD_SPECIAL_FUNCTION@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _AD5360_REG_SF_CTRL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AD5360_REG_SF_CTRL@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x21
	mov	w4, #0
	bl	_ad5360_write_unlocked
	mov	x19, x0
	mov	x0, x21
	bl	_mutex_unlock
	mov	x0, x19
	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
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AD5360_CMD_SPECIAL_FUNCTION,4,2 ; @AD5360_CMD_SPECIAL_FUNCTION
	.comm	_AD5360_REG_SF_CTRL,4,2         ; @AD5360_REG_SF_CTRL
	.no_dead_strip	_ad5360_update_ctrl
.subsections_via_symbols
