	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rcsi2_notify_bound
_rcsi2_notify_bound:                    ## @rcsi2_notify_bound
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %rbx
	callq	_notifier_to_csi2
	movq	%rax, %r14
	movl	(%r15), %esi
	movq	_MEDIA_PAD_FL_SOURCE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_media_entity_get_fwnode_pad
	movl	%eax, %r15d
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	%rbx, 8(%r14)
	movl	4(%r14), %edi
	movl	4(%rbx), %edx
	leaq	L_.str.1(%rip), %rsi
	movl	%r15d, %ecx
	callq	_dev_dbg
	movq	_MEDIA_LNK_FL_ENABLED@GOTPCREL(%rip), %rax
	movq	_MEDIA_LNK_FL_IMMUTABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	orl	(%rax), %r8d
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movq	%r14, %rdx
	xorl	%ecx, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_media_create_pad_link          ## TAILCALL
LBB0_1:
	movl	4(%r14), %edi
	movl	4(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MEDIA_PAD_FL_SOURCE,4,2        ## @MEDIA_PAD_FL_SOURCE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to find pad for %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"Bound %s pad: %d\n"

	.comm	_MEDIA_LNK_FL_ENABLED,4,2       ## @MEDIA_LNK_FL_ENABLED
	.comm	_MEDIA_LNK_FL_IMMUTABLE,4,2     ## @MEDIA_LNK_FL_IMMUTABLE
	.no_dead_strip	_rcsi2_notify_bound
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rcsi2_notify_bound
_rcsi2_notify_bound:                    ; @rcsi2_notify_bound
	.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	x21, x2
	mov	x19, x1
	bl	_notifier_to_csi2
	mov	x20, x0
	ldr	w1, [x21]
Lloh0:
	adrp	x8, _MEDIA_PAD_FL_SOURCE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MEDIA_PAD_FL_SOURCE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_media_entity_get_fwnode_pad
	mov	x21, x0
	tbnz	w0, #31, LBB0_2
; %bb.1:
	str	x19, [x20, #8]
	ldr	w0, [x20, #4]
	ldr	w2, [x19, #4]
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x3, x21
	bl	_dev_dbg
Lloh5:
	adrp	x8, _MEDIA_LNK_FL_ENABLED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MEDIA_LNK_FL_ENABLED@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _MEDIA_LNK_FL_IMMUTABLE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _MEDIA_LNK_FL_IMMUTABLE@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w4, w9, w8
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	mov	w3, #0
	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
	b	_media_create_pad_link
LBB0_2:
	ldr	w0, [x20, #4]
	ldr	w2, [x19, #4]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
	mov	x0, x21
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_MEDIA_PAD_FL_SOURCE,4,2        ; @MEDIA_PAD_FL_SOURCE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to find pad for %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"Bound %s pad: %d\n"

	.comm	_MEDIA_LNK_FL_ENABLED,4,2       ; @MEDIA_LNK_FL_ENABLED
	.comm	_MEDIA_LNK_FL_IMMUTABLE,4,2     ; @MEDIA_LNK_FL_IMMUTABLE
	.no_dead_strip	_rcsi2_notify_bound
.subsections_via_symbols
