	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rad_put_attr                   ## -- Begin function rad_put_attr
	.p2align	4, 0x90
_rad_put_attr:                          ## @rad_put_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	cmpl	$0, 16(%rdi)
	je	LBB0_4
## %bb.1:
	movq	%rcx, %r15
	movq	%rdx, %r12
	movl	%esi, %r14d
	movq	(%rbx), %rax
	movq	_POS_CODE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rcx
	movq	_RAD_ACCOUNTING_REQUEST@GOTPCREL(%rip), %rdx
	movq	_RAD_EAP_MESSAGE@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	cmpq	(%rdx), %rcx
	jne	LBB0_8
## %bb.2:
	cmpl	%r14d, %eax
	jne	LBB0_8
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_5
LBB0_4:
	leaq	L_.str(%rip), %rsi
LBB0_5:
	movq	%rbx, %rdi
	callq	_generr
LBB0_6:
	movl	$-1, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	cmpl	%r14d, %eax
	jne	LBB0_10
## %bb.9:
	movq	%rbx, %rdi
	callq	_rad_put_message_authentic
	cmpl	$-1, %eax
	je	LBB0_6
LBB0_10:
	movq	_RAD_USER_PASSWORD@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jne	LBB0_12
## %bb.11:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movq	%r12, %rdx
	movq	%r15, %rcx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_put_password_attr              ## TAILCALL
LBB0_12:
	movq	_RAD_MESSAGE_AUTHENTIC@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jne	LBB0_14
## %bb.13:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rad_put_message_authentic      ## TAILCALL
LBB0_14:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movq	%r12, %rdx
	movq	%r15, %rcx
	callq	_put_raw_attr
	testl	%eax, %eax
	jne	LBB0_7
## %bb.15:
	movq	_RAD_CHAP_PASSWORD@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jne	LBB0_18
## %bb.16:
	movl	$1, 8(%rbx)
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_18:
	xorl	%eax, %eax
	cmpl	%r14d, (%r13)
	jne	LBB0_7
## %bb.19:
	movl	$1, 12(%rbx)
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Please call rad_create_request() before putting attributes"

	.comm	_POS_CODE,8,3                   ## @POS_CODE
	.comm	_RAD_ACCOUNTING_REQUEST,8,3     ## @RAD_ACCOUNTING_REQUEST
	.comm	_RAD_EAP_MESSAGE,4,2            ## @RAD_EAP_MESSAGE
L_.str.1:                               ## @.str.1
	.asciz	"EAP-Message attribute is not valid in accounting requests"

	.comm	_RAD_USER_PASSWORD,4,2          ## @RAD_USER_PASSWORD
	.comm	_RAD_MESSAGE_AUTHENTIC,4,2      ## @RAD_MESSAGE_AUTHENTIC
	.comm	_RAD_CHAP_PASSWORD,4,2          ## @RAD_CHAP_PASSWORD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rad_put_attr                   ; -- Begin function rad_put_attr
	.p2align	2
_rad_put_attr:                          ; @rad_put_attr
	.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
	ldr	w8, [x0, #16]
	cbz	w8, LBB0_6
; %bb.1:
	mov	x20, x1
Lloh0:
	adrp	x8, _POS_CODE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _POS_CODE@GOTPAGEOFF]
	ldr	x9, [x19]
Lloh2:
	ldr	x8, [x8]
	ldr	x9, [x9, x8, lsl #3]
Lloh3:
	adrp	x8, _RAD_ACCOUNTING_REQUEST@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RAD_ACCOUNTING_REQUEST@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x8]
Lloh6:
	adrp	x23, _RAD_EAP_MESSAGE@GOTPAGE
Lloh7:
	ldr	x23, [x23, _RAD_EAP_MESSAGE@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	x9, x10
	ccmp	w8, w1, #0, eq
	b.eq	LBB0_7
; %bb.2:
	mov	x21, x3
	mov	x22, x2
	cmp	w8, w20
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_rad_put_message_authentic
	cmn	w0, #1
	b.eq	LBB0_9
LBB0_4:
Lloh8:
	adrp	x8, _RAD_USER_PASSWORD@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RAD_USER_PASSWORD@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	w8, w20
	b.ne	LBB0_10
; %bb.5:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x22
	mov	x3, x21
	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
	b	_put_password_attr
LBB0_6:
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_8
LBB0_7:
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_8:
	mov	x0, x19
	bl	_generr
	mov	w0, #-1
LBB0_9:
	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
LBB0_10:
Lloh15:
	adrp	x8, _RAD_MESSAGE_AUTHENTIC@GOTPAGE
Lloh16:
	ldr	x8, [x8, _RAD_MESSAGE_AUTHENTIC@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	cmp	w8, w20
	b.ne	LBB0_12
; %bb.11:
	mov	x0, x19
	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
	b	_rad_put_message_authentic
LBB0_12:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x22
	mov	x3, x21
	bl	_put_raw_attr
	cbnz	w0, LBB0_9
; %bb.13:
Lloh18:
	adrp	x8, _RAD_CHAP_PASSWORD@GOTPAGE
Lloh19:
	ldr	x8, [x8, _RAD_CHAP_PASSWORD@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	cmp	w8, w20
	b.ne	LBB0_15
; %bb.14:
	mov	w0, #0
	mov	w8, #1
	str	w8, [x19, #8]
	b	LBB0_9
LBB0_15:
	ldr	w8, [x23]
	cmp	w8, w20
	b.ne	LBB0_17
; %bb.16:
	mov	w0, #0
	mov	w8, #1
	str	w8, [x19, #12]
	b	LBB0_9
LBB0_17:
	mov	w0, #0
	b	LBB0_9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Please call rad_create_request() before putting attributes"

	.comm	_POS_CODE,8,3                   ; @POS_CODE
	.comm	_RAD_ACCOUNTING_REQUEST,8,3     ; @RAD_ACCOUNTING_REQUEST
	.comm	_RAD_EAP_MESSAGE,4,2            ; @RAD_EAP_MESSAGE
l_.str.1:                               ; @.str.1
	.asciz	"EAP-Message attribute is not valid in accounting requests"

	.comm	_RAD_USER_PASSWORD,4,2          ; @RAD_USER_PASSWORD
	.comm	_RAD_MESSAGE_AUTHENTIC,4,2      ; @RAD_MESSAGE_AUTHENTIC
	.comm	_RAD_CHAP_PASSWORD,4,2          ; @RAD_CHAP_PASSWORD
.subsections_via_symbols
