	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_function_sentinel
_check_function_sentinel:               ## @check_function_sentinel
	.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
	movq	%rdx, %rbx
	movq	%rsi, %r12
	movq	%rdi, %rsi
	leaq	L_.str(%rip), %rdi
	callq	_lookup_attribute
	testq	%rax, %rax
	je	LBB0_18
## %bb.1:
	movq	%rax, %r15
	testq	%r12, %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	setne	%al
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	testq	%r12, %r12
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_TREE_CHAIN
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_TREE_CHAIN
	movq	%rax, %r12
	testq	%rax, %rax
	jmp	LBB0_2
LBB0_5:
	leaq	L_.str.1(%rip), %r14
	testq	%rbx, %rbx
	jne	LBB0_19
## %bb.6:
	testb	%al, %al
	je	LBB0_19
## %bb.7:
	movq	%r15, %rdi
	callq	_TREE_VALUE
	movq	%r12, %rbx
	testq	%rax, %rax
	je	LBB0_13
## %bb.8:
	movq	%r15, %rdi
	callq	_TREE_VALUE
	movq	%rax, %rdi
	callq	_TREE_VALUE
	movq	%rax, %rdi
	callq	_TREE_INT_CST_LOW
	movq	%r12, %rbx
	testl	%eax, %eax
	je	LBB0_13
## %bb.9:
	movl	%eax, %r15d
	movq	%r12, %rbx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_TREE_CHAIN
	testq	%rax, %rax
	je	LBB0_19
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%rbx, %rdi
	callq	_TREE_CHAIN
	movq	%rax, %rbx
	decl	%r15d
	jne	LBB0_10
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	%rbx, %rdi
	callq	_TREE_CHAIN
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_TREE_CHAIN
	movq	%rax, %r12
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_TREE_CHAIN
	testq	%rax, %rax
	jne	LBB0_12
## %bb.14:
	movq	%r12, %rdi
	callq	_TREE_VALUE
	movq	%rax, %rdi
	callq	_TREE_TYPE
	movl	%eax, %edi
	callq	_POINTER_TYPE_P
	testl	%eax, %eax
	je	LBB0_16
## %bb.15:
	movq	%r12, %rdi
	callq	_TREE_VALUE
	movq	%rax, %rdi
	callq	_integer_zerop
	testl	%eax, %eax
	jne	LBB0_18
LBB0_16:
	movq	_warn_strict_null_sentinel@GOTPCREL(%rip), %rax
	leaq	L_.str.2(%rip), %r14
	cmpq	$0, (%rax)
	jne	LBB0_19
## %bb.17:
	movq	_null_node@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	%r12, %rdi
	callq	_TREE_VALUE
	cmpq	%rax, %rbx
	jne	LBB0_19
LBB0_18:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	movq	_OPT_Wformat@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_warning                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sentinel"

	.comm	_OPT_Wformat,4,2                ## @OPT_Wformat
L_.str.1:                               ## @.str.1
	.asciz	"not enough variable arguments to fit a sentinel"

	.comm	_warn_strict_null_sentinel,8,3  ## @warn_strict_null_sentinel
	.comm	_null_node,8,3                  ## @null_node
L_.str.2:                               ## @.str.2
	.asciz	"missing sentinel in function call"

	.no_dead_strip	_check_function_sentinel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_function_sentinel
_check_function_sentinel:               ; @check_function_sentinel
	.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, x2
	mov	x19, x1
	mov	x1, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_lookup_attribute
	cbz	x0, LBB0_18
; %bb.1:
	mov	x20, x0
	cmp	x19, #0
	cset	w8, ne
	cbz	x21, LBB0_5
; %bb.2:
	cbz	x19, LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_TREE_CHAIN
	mov	x21, x0
	mov	x0, x19
	bl	_TREE_CHAIN
	mov	x19, x0
	cmp	x0, #0
	cset	w8, ne
	cbz	x21, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cbnz	x19, LBB0_3
LBB0_5:
Lloh2:
	adrp	x22, l_.str.1@PAGE
Lloh3:
	add	x22, x22, l_.str.1@PAGEOFF
	cbnz	x21, LBB0_20
; %bb.6:
	cbz	w8, LBB0_20
; %bb.7:
	mov	x0, x20
	bl	_TREE_VALUE
	mov	x21, x19
	cbz	x0, LBB0_13
; %bb.8:
	mov	x0, x20
	bl	_TREE_VALUE
	bl	_TREE_VALUE
	bl	_TREE_INT_CST_LOW
	mov	x21, x19
	cbz	w0, LBB0_13
; %bb.9:
	mov	x20, x0
Lloh4:
	adrp	x22, l_.str.1@PAGE
Lloh5:
	add	x22, x22, l_.str.1@PAGEOFF
	mov	x21, x19
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_TREE_CHAIN
	cbz	x0, LBB0_20
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	sub	w20, w20, #1
	mov	x0, x21
	bl	_TREE_CHAIN
	mov	x21, x0
	cbnz	w20, LBB0_10
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x21
	bl	_TREE_CHAIN
	mov	x21, x0
	mov	x0, x19
	bl	_TREE_CHAIN
	mov	x19, x0
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_TREE_CHAIN
	cbnz	x0, LBB0_12
; %bb.14:
	mov	x0, x19
	bl	_TREE_VALUE
	bl	_TREE_TYPE
	bl	_POINTER_TYPE_P
	cbz	w0, LBB0_16
; %bb.15:
	mov	x0, x19
	bl	_TREE_VALUE
	bl	_integer_zerop
	cbnz	w0, LBB0_18
LBB0_16:
Lloh6:
	adrp	x8, _warn_strict_null_sentinel@GOTPAGE
Lloh7:
	ldr	x8, [x8, _warn_strict_null_sentinel@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cbnz	x8, LBB0_19
; %bb.17:
Lloh9:
	adrp	x8, _null_node@GOTPAGE
Lloh10:
	ldr	x8, [x8, _null_node@GOTPAGEOFF]
Lloh11:
	ldr	x20, [x8]
	mov	x0, x19
	bl	_TREE_VALUE
	cmp	x20, x0
	b.ne	LBB0_19
LBB0_18:
	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
LBB0_19:
Lloh12:
	adrp	x22, l_.str.2@PAGE
Lloh13:
	add	x22, x22, l_.str.2@PAGEOFF
LBB0_20:
Lloh14:
	adrp	x8, _OPT_Wformat@GOTPAGE
Lloh15:
	ldr	x8, [x8, _OPT_Wformat@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	mov	x1, x22
	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	_warning
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sentinel"

	.comm	_OPT_Wformat,4,2                ; @OPT_Wformat
l_.str.1:                               ; @.str.1
	.asciz	"not enough variable arguments to fit a sentinel"

	.comm	_warn_strict_null_sentinel,8,3  ; @warn_strict_null_sentinel
	.comm	_null_node,8,3                  ; @null_node
l_.str.2:                               ; @.str.2
	.asciz	"missing sentinel in function call"

	.no_dead_strip	_check_function_sentinel
.subsections_via_symbols
