	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wcove_bus_sync_unlock
_wcove_bus_sync_unlock:                 ## @wcove_bus_sync_unlock
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	callq	_irq_data_get_irq_chip_data
	movq	%rax, %rdi
	callq	_gpiochip_get_data
	movq	%rax, %rbx
	movl	(%r14), %r14d
	movl	(%rax), %eax
	movq	_UPDATE_IRQ_TYPE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_wcove_update_irq_ctrl
	movl	(%rbx), %eax
LBB0_2:
	movq	_UPDATE_IRQ_MASK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_wcove_update_irq_mask
LBB0_4:
	movl	$0, (%rbx)
	addq	$4, %rbx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_mutex_unlock                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_UPDATE_IRQ_TYPE,4,2            ## @UPDATE_IRQ_TYPE
	.comm	_UPDATE_IRQ_MASK,4,2            ## @UPDATE_IRQ_MASK
	.no_dead_strip	_wcove_bus_sync_unlock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wcove_bus_sync_unlock
_wcove_bus_sync_unlock:                 ; @wcove_bus_sync_unlock
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
	bl	_irq_data_get_irq_chip_data
	bl	_gpiochip_get_data
	mov	x19, x0
	ldr	w20, [x20]
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _UPDATE_IRQ_TYPE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _UPDATE_IRQ_TYPE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x19
	mov	x1, x20
	bl	_wcove_update_irq_ctrl
	ldr	w8, [x19]
LBB0_2:
Lloh3:
	adrp	x9, _UPDATE_IRQ_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _UPDATE_IRQ_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	mov	x0, x19
	mov	x1, x20
	bl	_wcove_update_irq_mask
LBB0_4:
	str	wzr, [x19], #4
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mutex_unlock
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_UPDATE_IRQ_TYPE,4,2            ; @UPDATE_IRQ_TYPE
	.comm	_UPDATE_IRQ_MASK,4,2            ; @UPDATE_IRQ_MASK
	.no_dead_strip	_wcove_bus_sync_unlock
.subsections_via_symbols
