	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___lwp_mutex_seize_irq_blocking ## -- Begin function __lwp_mutex_seize_irq_blocking
	.p2align	4, 0x90
___lwp_mutex_seize_irq_blocking:        ## @__lwp_mutex_seize_irq_blocking
	.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, %r15d
	movq	%rdi, %rbx
	movq	__thr_executing@GOTPCREL(%rip), %r12
	movq	(%r12), %r14
	callq	___lwp_mutex_isinheritprio
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	16(%rbx), %rdi
	movq	(%r14), %rsi
	cmpq	%rsi, (%rdi)
	jle	LBB0_3
## %bb.2:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	___lwp_thread_changepriority
LBB0_3:
	incl	12(%rbx)
	leaq	8(%rbx), %rdi
	movl	%r15d, %esi
	callq	___lwp_threadqueue_enqueue
	movq	(%r12), %rax
	movq	8(%rax), %rax
	movq	_LWP_MUTEX_SUCCESSFUL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.4:
	movq	%rbx, %rdi
	callq	___lwp_mutex_isprioceiling
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	(%rbx), %rsi
	cmpq	(%r14), %rsi
	jge	LBB0_7
## %bb.6:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	___lwp_thread_changepriority
LBB0_7:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	___lwp_thread_dispatchenable    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	__thr_executing,8,3             ## @_thr_executing
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_LWP_MUTEX_SUCCESSFUL,8,3       ## @LWP_MUTEX_SUCCESSFUL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___lwp_mutex_seize_irq_blocking ; -- Begin function __lwp_mutex_seize_irq_blocking
	.p2align	2
___lwp_mutex_seize_irq_blocking:        ; @__lwp_mutex_seize_irq_blocking
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x22, __thr_executing@GOTPAGE
Lloh1:
	ldr	x22, [x22, __thr_executing@GOTPAGEOFF]
	ldr	x19, [x22]
	bl	___lwp_mutex_isinheritprio
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x0, [x20, #16]
	ldr	x8, [x0]
	ldr	x1, [x19]
	cmp	x8, x1
	b.le	LBB0_3
; %bb.2:
Lloh2:
	adrp	x8, _FALSE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	bl	___lwp_thread_changepriority
LBB0_3:
	ldr	w8, [x20, #12]
	add	w8, w8, #1
	str	w8, [x20, #12]
	add	x0, x20, #8
	mov	x1, x21
	bl	___lwp_threadqueue_enqueue
	ldr	x8, [x22]
	ldr	x8, [x8, #8]
Lloh5:
	adrp	x9, _LWP_MUTEX_SUCCESSFUL@GOTPAGE
Lloh6:
	ldr	x9, [x9, _LWP_MUTEX_SUCCESSFUL@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.4:
	mov	x0, x20
	bl	___lwp_mutex_isprioceiling
	cbz	x0, LBB0_7
; %bb.5:
	ldr	x1, [x20]
	ldr	x8, [x19]
	cmp	x1, x8
	b.ge	LBB0_7
; %bb.6:
Lloh8:
	adrp	x8, _FALSE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x19
	bl	___lwp_thread_changepriority
LBB0_7:
	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	___lwp_thread_dispatchenable
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	__thr_executing,8,3             ; @_thr_executing
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_LWP_MUTEX_SUCCESSFUL,8,3       ; @LWP_MUTEX_SUCCESSFUL
.subsections_via_symbols
