	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __media_entity_setup_link_notify
___media_entity_setup_link_notify:      ## @__media_entity_setup_link_notify
	.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	%esi, %r14d
	movq	%rdi, %r15
	movq	16(%rdi), %rcx
	movq	24(%rdi), %rdx
	movl	(%rdx), %edi
	movq	_link_setup@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movl	%r14d, %r8d
	callq	_media_entity_call
	testl	%eax, %eax
	jns	LBB0_2
## %bb.1:
	movl	%eax, %ebx
	movq	_ENOIOCTLCMD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%ebx, %eax
	jne	LBB0_6
LBB0_2:
	movq	16(%r15), %rdx
	movq	24(%r15), %rcx
	movl	(%rdx), %edi
	movl	(%r12), %esi
	movl	%r14d, %r8d
	callq	_media_entity_call
	testl	%eax, %eax
	jns	LBB0_5
## %bb.3:
	movl	%eax, %ebx
	movq	_ENOIOCTLCMD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%ebx, %eax
	jne	LBB0_4
LBB0_5:
	movl	%r14d, (%r15)
	movq	8(%r15), %rax
	movl	%r14d, (%rax)
	xorl	%ebx, %ebx
	jmp	LBB0_6
LBB0_4:
	movq	24(%r15), %rdx
	movl	(%rdx), %edi
	movl	(%r12), %esi
	movq	16(%r15), %rcx
	movl	(%r15), %r8d
	callq	_media_entity_call
LBB0_6:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_link_setup,4,2                 ## @link_setup
	.comm	_ENOIOCTLCMD,4,2                ## @ENOIOCTLCMD
	.no_dead_strip	___media_entity_setup_link_notify
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __media_entity_setup_link_notify
___media_entity_setup_link_notify:      ; @__media_entity_setup_link_notify
	.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	x20, x1
	mov	x19, x0
	ldp	x3, x2, [x0, #16]
	ldr	w0, [x2]
Lloh0:
	adrp	x22, _link_setup@GOTPAGE
Lloh1:
	ldr	x22, [x22, _link_setup@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x4, x20
	bl	_media_entity_call
	tbz	w0, #31, LBB0_2
; %bb.1:
	mov	x21, x0
Lloh2:
	adrp	x8, _ENOIOCTLCMD@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOIOCTLCMD@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmn	w0, w8
	b.ne	LBB0_6
LBB0_2:
	ldp	x2, x3, [x19, #16]
	ldr	w0, [x2]
	ldr	w1, [x22]
	mov	x4, x20
	bl	_media_entity_call
	tbz	w0, #31, LBB0_4
; %bb.3:
	mov	x21, x0
Lloh5:
	adrp	x8, _ENOIOCTLCMD@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOIOCTLCMD@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmn	w0, w8
	b.ne	LBB0_5
LBB0_4:
	mov	w21, #0
	str	w20, [x19]
	ldr	x8, [x19, #8]
	str	w20, [x8]
	b	LBB0_6
LBB0_5:
	ldp	x3, x2, [x19, #16]
	ldr	w0, [x2]
	ldr	w1, [x22]
	ldr	w4, [x19]
	bl	_media_entity_call
LBB0_6:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_link_setup,4,2                 ; @link_setup
	.comm	_ENOIOCTLCMD,4,2                ; @ENOIOCTLCMD
	.no_dead_strip	___media_entity_setup_link_notify
.subsections_via_symbols
