	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function put_raw_attr
_put_raw_attr:                          ## @put_raw_attr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	cmpq	$254, %rcx
	jb	LBB0_3
## %bb.1:
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_2
LBB0_3:
	movq	%rcx, %r14
	movslq	(%rbx), %rax
	addq	%rax, %rcx
	addq	$2, %rcx
	movq	_MSGSIZE@GOTPCREL(%rip), %rdi
	movslq	(%rdi), %rdi
	cmpq	%rdi, %rcx
	jbe	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rsi
LBB0_2:
	movq	%rbx, %rdi
	callq	_generr
	movl	$-1, %eax
	jmp	LBB0_6
LBB0_5:
	movq	8(%rbx), %rcx
	leal	1(%rax), %edi
	movl	%edi, (%rbx)
	movl	%esi, (%rcx,%rax,4)
	leal	2(%r14), %eax
	movslq	(%rbx), %rsi
	leal	1(%rsi), %edi
	movl	%edi, (%rbx)
	movl	%eax, (%rcx,%rsi,4)
	movslq	(%rbx), %rax
	leaq	(%rcx,%rax,4), %rdi
	movq	%rdx, %rsi
	movq	%r14, %rdx
	callq	_memcpy
	addl	%r14d, (%rbx)
	xorl	%eax, %eax
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Attribute too long"

	.comm	_MSGSIZE,4,2                    ## @MSGSIZE
L_.str.1:                               ## @.str.1
	.asciz	"Maximum message length exceeded"

	.no_dead_strip	_put_raw_attr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function put_raw_attr
_put_raw_attr:                          ; @put_raw_attr
	.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
	cmp	x3, #254
	b.lo	LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_4
LBB0_2:
	mov	x20, x3
	ldrsw	x8, [x19]
	add	x9, x8, x3
	add	x9, x9, #2
Lloh2:
	adrp	x10, _MSGSIZE@GOTPAGE
Lloh3:
	ldr	x10, [x10, _MSGSIZE@GOTPAGEOFF]
Lloh4:
	ldrsw	x10, [x10]
	cmp	x9, x10
	b.ls	LBB0_5
; %bb.3:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_4:
	mov	x0, x19
	bl	_generr
	mov	w0, #-1
	b	LBB0_6
LBB0_5:
	ldr	x9, [x19, #8]
	add	w10, w8, #1
	str	w10, [x19]
	str	w1, [x9, x8, lsl #2]
	add	w8, w20, #2
	ldrsw	x10, [x19]
	add	w11, w10, #1
	str	w11, [x19]
	str	w8, [x9, x10, lsl #2]
	ldrsw	x8, [x19]
	add	x0, x9, x8, lsl #2
	mov	x1, x2
	mov	x2, x20
	bl	_memcpy
	mov	w0, #0
	ldr	w8, [x19]
	add	w8, w8, w20
	str	w8, [x19]
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Attribute too long"

	.comm	_MSGSIZE,4,2                    ; @MSGSIZE
l_.str.1:                               ; @.str.1
	.asciz	"Maximum message length exceeded"

	.no_dead_strip	_put_raw_attr
.subsections_via_symbols
