	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_generate_guard                 ## -- Begin function generate_guard
	.p2align	4, 0x90
_generate_guard:                        ## @generate_guard
	.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	%rdi, %rbx
	movl	$47, %esi
	callq	_strrchr
	leaq	1(%rax), %rdi
	testq	%rax, %rax
	cmoveq	%rbx, %rdi
	callq	_xstrdup
	movq	%rax, %r15
	movq	%rax, %rdi
	movl	$46, %esi
	callq	_strrchr
	movq	%rax, %r14
	movb	(%r15), %al
	testb	%al, %al
	je	LBB0_17
## %bb.1:
	xorl	%ebx, %ebx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	callq	_toupper
	movb	%al, (%r12)
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movzbl	1(%r15,%rbx), %eax
	incq	%rbx
	testb	%al, %al
	je	LBB0_13
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(%r15,%rbx), %r12
	movsbl	%al, %edi
	callq	_islower
	movsbl	(%r15,%rbx), %edi
	testq	%rax, %rax
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	callq	_isupper
	testq	%rax, %rax
	jne	LBB0_12
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movzbl	(%r12), %eax
	cmpb	$95, %al
	je	LBB0_12
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	testq	%rbx, %rbx
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movsbl	%al, %edi
	callq	_isdigit
	testq	%rax, %rax
	jne	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r14, %r12
	je	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movb	$95, (%r12)
	jmp	LBB0_12
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movb	$95, (%r15)
	jmp	LBB0_12
LBB0_10:
	movb	$0, (%r14)
LBB0_13:
	cmpb	$95, (%r15)
	jne	LBB0_17
## %bb.14:
	movq	%r15, %rsi
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	cmpb	$95, 1(%rsi)
	leaq	1(%rsi), %rsi
	je	LBB0_15
## %bb.16:
	movq	%r15, %rdi
	callq	_strcpy
LBB0_17:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_extendfile
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_free
	movq	%r14, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"_H_RPCGEN"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_generate_guard                 ; -- Begin function generate_guard
	.p2align	2
_generate_guard:                        ; @generate_guard
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	mov	w1, #47
	bl	_strrchr
	cmp	x0, #0
	csinc	x0, x19, x0, eq
	bl	_xstrdup
	mov	x19, x0
	mov	w1, #46
	bl	_strrchr
	ldrb	w8, [x19]
	cbz	w8, LBB0_17
; %bb.1:
	mov	x20, x0
	mov	x21, #0
	mov	w22, #95
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	bl	_toupper
	strb	w0, [x23]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x19, x21
	ldrb	w8, [x8, #1]
	add	x21, x21, #1
	cbz	w8, LBB0_13
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x23, x19, x21
	sxtb	w0, w8
	bl	_islower
	mov	x8, x0
	ldrb	w9, [x23]
	sxtb	w0, w9
	cbnz	x8, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_isupper
	cbnz	x0, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w8, [x23]
	cmp	w8, #95
	b.eq	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	cbz	x21, LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	sxtb	w0, w8
	bl	_isdigit
	cbnz	x0, LBB0_3
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	x23, x20
	b.eq	LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	strb	w22, [x23]
	b	LBB0_3
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	strb	w22, [x19]
	b	LBB0_3
LBB0_12:
	strb	wzr, [x20]
LBB0_13:
	ldrb	w8, [x19]
	cmp	w8, #95
	b.ne	LBB0_17
; %bb.14:
	mov	x1, x19
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x1, #1]!
	cmp	w8, #95
	b.eq	LBB0_15
; %bb.16:
	mov	x0, x19
	bl	_strcpy
LBB0_17:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_extendfile
	mov	x20, x0
	mov	x0, x19
	bl	_free
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"_H_RPCGEN"

.subsections_via_symbols
