	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tipc_bclink_set_queue_limits   ## -- Begin function tipc_bclink_set_queue_limits
	.p2align	4, 0x90
_tipc_bclink_set_queue_limits:          ## @tipc_bclink_set_queue_limits
	.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	_bcl@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	je	LBB0_1
## %bb.3:
	movq	%rdi, %rbx
	movq	_TIPC_MIN_LINK_WIN@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	jg	LBB0_5
## %bb.4:
	movq	_TIPC_MAX_LINK_WIN@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	jl	LBB0_5
## %bb.6:
	movq	_bc_lock@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	callq	_spin_lock_bh
	movl	(%r15), %edi
	movq	%rbx, %rsi
	callq	_tipc_link_set_queue_limits
	movq	%r14, %rdi
	callq	_spin_unlock_bh
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_1:
	movq	_ENOPROTOOPT@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_bcl,4,2                        ## @bcl
	.comm	_ENOPROTOOPT,4,2                ## @ENOPROTOOPT
	.comm	_TIPC_MIN_LINK_WIN,8,3          ## @TIPC_MIN_LINK_WIN
	.comm	_TIPC_MAX_LINK_WIN,8,3          ## @TIPC_MAX_LINK_WIN
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_bc_lock,4,2                    ## @bc_lock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tipc_bclink_set_queue_limits   ; -- Begin function tipc_bclink_set_queue_limits
	.p2align	2
_tipc_bclink_set_queue_limits:          ; @tipc_bclink_set_queue_limits
	.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
Lloh0:
	adrp	x21, _bcl@GOTPAGE
Lloh1:
	ldr	x21, [x21, _bcl@GOTPAGEOFF]
	ldr	w8, [x21]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x19, x0
Lloh2:
	adrp	x8, _TIPC_MIN_LINK_WIN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TIPC_MIN_LINK_WIN@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	adrp	x9, _TIPC_MAX_LINK_WIN@GOTPAGE
Lloh6:
	ldr	x9, [x9, _TIPC_MAX_LINK_WIN@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x0
	ccmp	x9, x0, #8, le
	b.ge	LBB0_5
; %bb.2:
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh10:
	adrp	x8, _ENOPROTOOPT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOPROTOOPT@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_6
LBB0_5:
Lloh12:
	adrp	x20, _bc_lock@GOTPAGE
Lloh13:
	ldr	x20, [x20, _bc_lock@GOTPAGEOFF]
	mov	x0, x20
	bl	_spin_lock_bh
	ldr	w0, [x21]
	mov	x1, x19
	bl	_tipc_link_set_queue_limits
	mov	x0, x20
	bl	_spin_unlock_bh
	mov	w0, #0
LBB0_6:
	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	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_bcl,4,2                        ; @bcl
	.comm	_ENOPROTOOPT,4,2                ; @ENOPROTOOPT
	.comm	_TIPC_MIN_LINK_WIN,8,3          ; @TIPC_MIN_LINK_WIN
	.comm	_TIPC_MAX_LINK_WIN,8,3          ; @TIPC_MAX_LINK_WIN
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_bc_lock,4,2                    ; @bc_lock
.subsections_via_symbols
