	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tx_add_credit
_tx_add_credit:                         ## @tx_add_credit
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rsi
	movl	$131072, %edi                   ## imm = 0x20000
	callq	_max
	movq	(%rbx), %rdi
	addq	8(%rbx), %rdi
	jae	LBB0_2
## %bb.1:
	movq	_ULONG_MAX@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
LBB0_2:
	movq	%rax, %rsi
	callq	_min
	movq	%rax, 8(%rbx)
	movl	$0, 16(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ULONG_MAX,8,3                  ## @ULONG_MAX
	.no_dead_strip	_tx_add_credit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tx_add_credit
_tx_add_credit:                         ; @tx_add_credit
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x1, [x0]
	mov	w0, #131072
	bl	_max
	mov	x1, x0
	ldp	x9, x8, [x19]
	adds	x8, x9, x8
Lloh0:
	adrp	x9, _ULONG_MAX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ULONG_MAX@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	csel	x0, x9, x8, hs
	bl	_min
	str	x0, [x19, #8]
	str	wzr, [x19, #16]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ULONG_MAX,8,3                  ; @ULONG_MAX
	.no_dead_strip	_tx_add_credit
.subsections_via_symbols
