	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_media_request_object_bind      ## -- Begin function media_request_object_bind
	.p2align	4, 0x90
_media_request_object_bind:             ## @media_request_object_bind
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movl	%ecx, %r12d
	movq	%rdx, %r15
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	_EBUSY@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%edi, %edi
	cmpl	$0, (%rsi)
	sete	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_EBADR@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_9
LBB0_2:
	leaq	8(%r14), %rdi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_spin_lock_irqsave
	movq	(%r14), %rax
	movq	_MEDIA_REQUEST_STATE_UPDATING@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	negl	%ebx
	jmp	LBB0_8
LBB0_4:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, 24(%rdi)
	movq	%r13, 16(%rdi)
	movq	%r15, 8(%rdi)
	leaq	16(%r14), %rsi
	testl	%r12d, %r12d
	je	LBB0_6
## %bb.5:
	callq	_list_add_tail
	jmp	LBB0_7
LBB0_6:
	callq	_list_add
LBB0_7:
	incl	12(%r14)
	xorl	%ebx, %ebx
LBB0_8:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock_irqrestore
LBB0_9:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_EBADR,4,2                      ## @EBADR
	.comm	_MEDIA_REQUEST_STATE_UPDATING,8,3 ## @MEDIA_REQUEST_STATE_UPDATING
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_media_request_object_bind      ; -- Begin function media_request_object_bind
	.p2align	2
_media_request_object_bind:             ; @media_request_object_bind
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x4
	mov	x22, x3
	mov	x23, x2
	mov	x24, x1
	mov	x19, x0
	ldr	w8, [x1]
Lloh0:
	adrp	x9, _EBUSY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _EBUSY@GOTPAGEOFF]
Lloh2:
	ldr	w25, [x9]
	cmp	w8, #0
	cset	w0, eq
	bl	_WARN_ON
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _EBADR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EBADR@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_9
LBB0_2:
	add	x20, x19, #8
	mov	x0, x20
	bl	_spin_lock_irqsave
	ldr	x8, [x19]
Lloh6:
	adrp	x9, _MEDIA_REQUEST_STATE_UPDATING@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MEDIA_REQUEST_STATE_UPDATING@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_WARN_ON
	cbz	x0, LBB0_4
; %bb.3:
	neg	w21, w25
	b	LBB0_8
LBB0_4:
	stp	x24, x19, [x21, #16]
	add	x1, x19, #16
	str	x23, [x21, #8]
	mov	x0, x21
	cbz	w22, LBB0_6
; %bb.5:
	bl	_list_add_tail
	b	LBB0_7
LBB0_6:
	bl	_list_add
LBB0_7:
	mov	w21, #0
	ldr	w8, [x19, #12]
	add	w8, w8, #1
	str	w8, [x19, #12]
LBB0_8:
	mov	x0, x20
	bl	_spin_unlock_irqrestore
LBB0_9:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_EBADR,4,2                      ; @EBADR
	.comm	_MEDIA_REQUEST_STATE_UPDATING,8,3 ; @MEDIA_REQUEST_STATE_UPDATING
.subsections_via_symbols
