	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tps65217_irq_sync_unlock
_tps65217_irq_sync_unlock:              ## @tps65217_irq_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	callq	_irq_data_get_irq_chip_data
	movq	%rax, %rbx
	movq	_TPS65217_REG_INT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TPS65217_INT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	8(%rbx), %ecx
	movq	_TPS65217_PROTECT_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%rbx, %rdi
	callq	_tps65217_set_bits
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	4(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
LBB0_2:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mutex_unlock                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TPS65217_REG_INT,4,2           ## @TPS65217_REG_INT
	.comm	_TPS65217_INT_MASK,4,2          ## @TPS65217_INT_MASK
	.comm	_TPS65217_PROTECT_NONE,4,2      ## @TPS65217_PROTECT_NONE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to sync IRQ masks\n"

	.no_dead_strip	_tps65217_irq_sync_unlock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tps65217_irq_sync_unlock
_tps65217_irq_sync_unlock:              ; @tps65217_irq_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
	bl	_irq_data_get_irq_chip_data
	mov	x19, x0
Lloh0:
	adrp	x8, _TPS65217_REG_INT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TPS65217_REG_INT@GOTPAGEOFF]
Lloh2:
	adrp	x9, _TPS65217_INT_MASK@GOTPAGE
Lloh3:
	ldr	x9, [x9, _TPS65217_INT_MASK@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	ldr	w2, [x9]
	ldr	w3, [x0, #8]
Lloh6:
	adrp	x8, _TPS65217_PROTECT_NONE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TPS65217_PROTECT_NONE@GOTPAGEOFF]
Lloh8:
	ldr	w4, [x8]
	bl	_tps65217_set_bits
	cbz	w0, LBB0_2
; %bb.1:
	ldr	w0, [x19, #4]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
LBB0_2:
	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	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_TPS65217_REG_INT,4,2           ; @TPS65217_REG_INT
	.comm	_TPS65217_INT_MASK,4,2          ; @TPS65217_INT_MASK
	.comm	_TPS65217_PROTECT_NONE,4,2      ; @TPS65217_PROTECT_NONE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to sync IRQ masks\n"

	.no_dead_strip	_tps65217_irq_sync_unlock
.subsections_via_symbols
