	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function radius_put_physical_details
_radius_put_physical_details:           ## @radius_put_physical_details
	.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	_RAD_VIRTUAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	8(%rsi), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movl	(%rax), %eax
	cmpl	$129, %eax
	je	LBB0_5
## %bb.2:
	cmpl	$138, %eax
	je	LBB0_6
## %bb.3:
	cmpl	$136, %eax
	jne	LBB0_8
## %bb.4:
	movq	_RAD_ISDN_SYNC@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movq	_RAD_ASYNC@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_6:
	movq	_RAD_ETHERNET@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %edx
LBB0_8:
	movl	4(%r15), %edi
	movq	_RAD_NAS_PORT_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_rad_put_int
	testq	%rax, %rax
	je	LBB0_9
LBB0_18:
	movq	_LogERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	4(%r15), %edi
	callq	_rad_strerror
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	callq	_log_Printf
	movl	4(%r15), %edi
	callq	_rad_close
	xorl	%ebx, %ebx
LBB0_19:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movl	(%r15), %eax
	cmpl	$131, %eax
	je	LBB0_14
## %bb.10:
	cmpl	$133, %eax
	je	LBB0_13
## %bb.11:
	cmpl	$132, %eax
	jne	LBB0_15
## %bb.12:
	xorl	%eax, %eax
	callq	_getpid
	movq	%rax, %rdx
	jmp	LBB0_16
LBB0_14:
	movq	(%r14), %rax
	movq	(%rax), %rax
	movl	(%rax), %edx
	jmp	LBB0_16
LBB0_13:
	movq	(%r14), %rax
	movq	(%rax), %rax
	movq	8(%rax), %rax
	movl	(%rax), %edx
	jmp	LBB0_16
LBB0_15:
	movq	%r14, %rdi
	callq	_physical_Slot
	movl	%eax, %edx
LBB0_16:
	movl	$1, %ebx
	testl	%edx, %edx
	js	LBB0_19
## %bb.17:
	movl	4(%r15), %edi
	movq	_RAD_NAS_PORT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_rad_put_int
	testq	%rax, %rax
	jne	LBB0_18
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_RAD_VIRTUAL,4,2                ## @RAD_VIRTUAL
	.comm	_RAD_ISDN_SYNC,4,2              ## @RAD_ISDN_SYNC
	.comm	_RAD_ASYNC,4,2                  ## @RAD_ASYNC
	.comm	_RAD_ETHERNET,4,2               ## @RAD_ETHERNET
	.comm	_RAD_NAS_PORT_TYPE,4,2          ## @RAD_NAS_PORT_TYPE
	.comm	_LogERROR,4,2                   ## @LogERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rad_put: rad_put_int: %s\n"

	.comm	_RAD_NAS_PORT,4,2               ## @RAD_NAS_PORT
	.no_dead_strip	_radius_put_physical_details
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function radius_put_physical_details
_radius_put_physical_details:           ; @radius_put_physical_details
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _RAD_VIRTUAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RAD_VIRTUAL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	ldr	x8, [x1, #8]
	cbz	x8, LBB0_8
; %bb.1:
	ldr	w8, [x8]
	cmp	w8, #129
	b.eq	LBB0_5
; %bb.2:
	cmp	w8, #138
	b.eq	LBB0_6
; %bb.3:
	cmp	w8, #136
	b.ne	LBB0_8
; %bb.4:
Lloh3:
	adrp	x8, _RAD_ISDN_SYNC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RAD_ISDN_SYNC@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
Lloh5:
	adrp	x8, _RAD_ASYNC@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RAD_ASYNC@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh7:
	adrp	x8, _RAD_ETHERNET@GOTPAGE
Lloh8:
	ldr	x8, [x8, _RAD_ETHERNET@GOTPAGEOFF]
LBB0_7:
	ldr	w2, [x8]
LBB0_8:
	ldr	w0, [x19, #4]
Lloh9:
	adrp	x8, _RAD_NAS_PORT_TYPE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RAD_NAS_PORT_TYPE@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_rad_put_int
	cbz	x0, LBB0_10
LBB0_9:
Lloh12:
	adrp	x8, _LogERROR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _LogERROR@GOTPAGEOFF]
Lloh14:
	ldr	w20, [x8]
	ldr	w0, [x19, #4]
	bl	_rad_strerror
	mov	x2, x0
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_log_Printf
	ldr	w0, [x19, #4]
	bl	_rad_close
	mov	w0, #0
	b	LBB0_19
LBB0_10:
	ldr	w8, [x19]
	cmp	w8, #131
	b.eq	LBB0_14
; %bb.11:
	cmp	w8, #133
	b.eq	LBB0_15
; %bb.12:
	cmp	w8, #132
	b.ne	LBB0_16
; %bb.13:
	bl	_getpid
	mov	x2, x0
	tbz	w2, #31, LBB0_17
	b	LBB0_18
LBB0_14:
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	w2, [x8]
	tbz	w2, #31, LBB0_17
	b	LBB0_18
LBB0_15:
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	x8, [x8, #8]
	ldr	w2, [x8]
	tbz	w2, #31, LBB0_17
	b	LBB0_18
LBB0_16:
	mov	x0, x20
	bl	_physical_Slot
	mov	x2, x0
	tbnz	w2, #31, LBB0_18
LBB0_17:
	ldr	w0, [x19, #4]
Lloh17:
	adrp	x8, _RAD_NAS_PORT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _RAD_NAS_PORT@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_rad_put_int
	cbnz	x0, LBB0_9
LBB0_18:
	mov	w0, #1
LBB0_19:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_RAD_VIRTUAL,4,2                ; @RAD_VIRTUAL
	.comm	_RAD_ISDN_SYNC,4,2              ; @RAD_ISDN_SYNC
	.comm	_RAD_ASYNC,4,2                  ; @RAD_ASYNC
	.comm	_RAD_ETHERNET,4,2               ; @RAD_ETHERNET
	.comm	_RAD_NAS_PORT_TYPE,4,2          ; @RAD_NAS_PORT_TYPE
	.comm	_LogERROR,4,2                   ; @LogERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rad_put: rad_put_int: %s\n"

	.comm	_RAD_NAS_PORT,4,2               ; @RAD_NAS_PORT
	.no_dead_strip	_radius_put_physical_details
.subsections_via_symbols
