	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pin_free
_pin_free:                              ## @pin_free
	.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
	movq	%rdx, %r15
	movl	%esi, %r12d
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movq	(%rax), %r13
	callq	_pin_desc_get
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %r14
	testq	%r15, %r15
	je	LBB0_5
## %bb.2:
	movq	8(%r13), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.3:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%r12d, %edx
	callq	*%rax
	jmp	LBB0_12
LBB0_4:
	movl	4(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	xorl	%r15d, %r15d
	jmp	LBB0_14
LBB0_5:
	xorl	%edi, %edi
	cmpq	$0, 24(%r14)
	sete	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	jne	LBB0_6
## %bb.7:
	decq	24(%r14)
	je	LBB0_9
LBB0_6:
	xorl	%r15d, %r15d
	jmp	LBB0_14
LBB0_9:
	movq	(%r13), %rax
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	*%rax
LBB0_11:
	testq	%r15, %r15
	je	LBB0_15
LBB0_12:
	movq	(%r14), %r15
	movq	$0, (%r14)
LBB0_13:
	movl	(%rbx), %edi
	callq	_module_put
LBB0_14:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movq	8(%r14), %r15
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%r14)
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pin is not registered so it cannot be freed\n"

	.no_dead_strip	_pin_free
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pin_free
_pin_free:                              ; @pin_free
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x21, x2
	mov	x22, x1
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	x23, [x8]
	bl	_pin_desc_get
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x0
	cbz	x21, LBB0_5
; %bb.2:
	ldr	x8, [x23, #8]
	cbz	x8, LBB0_8
; %bb.3:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	blr	x8
	b	LBB0_11
LBB0_4:
	ldr	w0, [x19, #4]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
	mov	x21, #0
	b	LBB0_13
LBB0_5:
	ldr	x8, [x20, #24]
	cmp	x8, #0
	cset	w0, eq
	bl	_WARN_ON
	cbnz	x0, LBB0_7
; %bb.6:
	ldr	x8, [x20, #24]
	subs	x8, x8, #1
	str	x8, [x20, #24]
	b.eq	LBB0_8
LBB0_7:
	mov	x21, #0
	b	LBB0_13
LBB0_8:
	ldr	x8, [x23]
	cbz	x8, LBB0_10
; %bb.9:
	mov	x0, x19
	mov	x1, x22
	blr	x8
LBB0_10:
	cbz	x21, LBB0_14
LBB0_11:
	ldr	x21, [x20]
	str	xzr, [x20]
LBB0_12:
	ldr	w0, [x19]
	bl	_module_put
LBB0_13:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_14:
	ldr	x21, [x20, #8]
	stp	xzr, xzr, [x20, #8]
	b	LBB0_12
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pin is not registered so it cannot be freed\n"

	.no_dead_strip	_pin_free
.subsections_via_symbols
