	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RegisterTimeout                ## -- Begin function RegisterTimeout
	.p2align	4, 0x90
_RegisterTimeout:                       ## @RegisterTimeout
	.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	%rsi, %r14
	movq	%rdi, %r15
	movq	_all_timeouts_initialized@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_Assert
	movq	_USER_TIMEOUT@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	cmpq	%r15, %rbx
	ja	LBB0_8
## %bb.1:
	movq	_MAX_TIMEOUTS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, %rbx
	jae	LBB0_6
## %bb.2:
	movq	_all_timeouts@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%rcx,%rbx,8)
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	cmpq	%rbx, %rax
	jne	LBB0_3
## %bb.5:
	movq	%rax, %rbx
LBB0_6:
	movq	_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_ERRCODE_CONFIGURATION_LIMIT_EXCEEDED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str(%rip), %rdi
	callq	_errmsg
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_7:
	movq	%rbx, %r15
LBB0_8:
	movq	_all_timeouts@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	xorl	%edi, %edi
	cmpq	$0, (%rax,%r15,8)
	sete	%dil
	callq	_Assert
	movq	(%rbx), %rax
	movq	%r14, (%rax,%r15,8)
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_all_timeouts_initialized,4,2   ## @all_timeouts_initialized
	.comm	_USER_TIMEOUT,8,3               ## @USER_TIMEOUT
	.comm	_MAX_TIMEOUTS,8,3               ## @MAX_TIMEOUTS
	.comm	_all_timeouts,8,3               ## @all_timeouts
	.comm	_FATAL,4,2                      ## @FATAL
	.comm	_ERRCODE_CONFIGURATION_LIMIT_EXCEEDED,4,2 ## @ERRCODE_CONFIGURATION_LIMIT_EXCEEDED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot add more timeout reasons"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RegisterTimeout                ; -- Begin function RegisterTimeout
	.p2align	2
_RegisterTimeout:                       ; @RegisterTimeout
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _all_timeouts_initialized@GOTPAGE
Lloh1:
	ldr	x8, [x8, _all_timeouts_initialized@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_Assert
Lloh3:
	adrp	x8, _USER_TIMEOUT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _USER_TIMEOUT@GOTPAGEOFF]
Lloh5:
	ldr	x22, [x8]
Lloh6:
	adrp	x21, _all_timeouts@GOTPAGE
Lloh7:
	ldr	x21, [x21, _all_timeouts@GOTPAGEOFF]
	cmp	x22, x20
	b.hi	LBB0_8
; %bb.1:
Lloh8:
	adrp	x8, _MAX_TIMEOUTS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MAX_TIMEOUTS@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x22, x8
	b.hs	LBB0_6
; %bb.2:
	ldr	x9, [x21]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9, x22, lsl #3]
	cbz	x10, LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x22, x22, #1
	cmp	x8, x22
	b.ne	LBB0_3
; %bb.5:
	mov	x22, x8
LBB0_6:
Lloh11:
	adrp	x8, _FATAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _FATAL@GOTPAGEOFF]
Lloh13:
	ldr	w20, [x8]
Lloh14:
	adrp	x8, _ERRCODE_CONFIGURATION_LIMIT_EXCEEDED@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ERRCODE_CONFIGURATION_LIMIT_EXCEEDED@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	bl	_errcode
Lloh17:
	adrp	x0, l_.str@PAGE
Lloh18:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x20
	bl	_ereport
LBB0_7:
	mov	x20, x22
LBB0_8:
	ldr	x8, [x21]
	lsl	x22, x20, #3
	ldr	x8, [x8, x22]
	cmp	x8, #0
	cset	w0, eq
	bl	_Assert
	ldr	x8, [x21]
	str	x19, [x8, x22]
	mov	x0, x20
	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	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_all_timeouts_initialized,4,2   ; @all_timeouts_initialized
	.comm	_USER_TIMEOUT,8,3               ; @USER_TIMEOUT
	.comm	_MAX_TIMEOUTS,8,3               ; @MAX_TIMEOUTS
	.comm	_all_timeouts,8,3               ; @all_timeouts
	.comm	_FATAL,4,2                      ; @FATAL
	.comm	_ERRCODE_CONFIGURATION_LIMIT_EXCEEDED,4,2 ; @ERRCODE_CONFIGURATION_LIMIT_EXCEEDED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot add more timeout reasons"

.subsections_via_symbols
